mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-09 05:15:30 +02:00
chore: Update Zen browser components submodule commit reference and improve flatpak configuration and fixed tabs not fully closing
This commit is contained in:
parent
bd449faf05
commit
c57db962f8
9 changed files with 42 additions and 44 deletions
|
@ -164,13 +164,15 @@ var gZenCKSSettings = {
|
|||
meta: event.metaKey
|
||||
};
|
||||
|
||||
if (event.key === "Tab") {
|
||||
const shortcutWithoutModifiers = !shortcut.ctrl && !shortcut.alt && !shortcut.shift && !shortcut.meta;
|
||||
|
||||
if (event.key === "Tab" && shortcutWithoutModifiers) {
|
||||
return;
|
||||
} else if (event.key === "Escape") {
|
||||
} else if (event.key === "Escape" && shortcutWithoutModifiers) {
|
||||
this._currentAction = null;
|
||||
input.blur();
|
||||
return;
|
||||
} else if (event.key === "Backspace") {
|
||||
} else if (event.key === "Backspace" && shortcutWithoutModifiers) {
|
||||
this._resetCKS(input, this._currentAction);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue