mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-03-02 04:02:13 +01:00
Remove log for duplicate key register (#540)
* removed log for duplicate keybindings * changed dumplogs to GlobalModel.isDev, and re added back log * added back dumplogs * one last dump logs
This commit is contained in:
parent
64244626a1
commit
b08aaa03fb
@ -420,7 +420,15 @@ class KeybindManager {
|
||||
for (let index = 0; index < keybindsArray.length; index++) {
|
||||
let curKeybind = keybindsArray[index];
|
||||
if (curKeybind.domain == domain && keybindingIsEqual(curKeybind.keybinding, keybinding)) {
|
||||
console.log("keybinding is equal: ", curKeybind.keybinding, keybinding, curKeybind.domain, domain);
|
||||
if (this.globalModel.isDev) {
|
||||
console.log(
|
||||
"keybinding already added",
|
||||
curKeybind.keybinding,
|
||||
keybinding,
|
||||
curKeybind.domain,
|
||||
domain
|
||||
);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user