mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 17:36:34 +00:00
Update subproject commit in l10n and zen-components
This commit is contained in:
2
l10n
2
l10n
Submodule l10n updated: f94bf3217c...064e7ad353
Submodule src/browser/base/content/zen-components updated: c65b4aef13...53b7f6eecc
@@ -275,7 +275,7 @@
|
|||||||
#navigator-toolbox[zen-user-hover='true'][has-popup-menu],
|
#navigator-toolbox[zen-user-hover='true'][has-popup-menu],
|
||||||
#navigator-toolbox[zen-user-hover='true']:has(*[open='true']:not(tab):not(#zen-sidepanel-button)),
|
#navigator-toolbox[zen-user-hover='true']:has(*[open='true']:not(tab):not(#zen-sidepanel-button)),
|
||||||
#navigator-toolbox[zen-expanded='true']:not([zen-user-hover='true']))) {
|
#navigator-toolbox[zen-expanded='true']:not([zen-user-hover='true']))) {
|
||||||
--zen-toolbox-max-width: 51px;
|
--zen-toolbox-max-width: 45px;
|
||||||
max-width: var(--zen-toolbox-max-width) !important;
|
max-width: var(--zen-toolbox-max-width) !important;
|
||||||
min-width: calc(var(--zen-toolbox-max-width) + var(--zen-toolbox-padding) / 2 + 2px) !important;
|
min-width: calc(var(--zen-toolbox-max-width) + var(--zen-toolbox-padding) / 2 + 2px) !important;
|
||||||
|
|
||||||
|
@@ -777,7 +777,15 @@ var gZenCKSSettings = {
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
let input = document.querySelector(`.${ZEN_CKS_INPUT_FIELD_CLASS}[${KEYBIND_ATTRIBUTE_KEY}="${this._currentAction}"]`);
|
let input = document.querySelector(`.${ZEN_CKS_INPUT_FIELD_CLASS}[${KEYBIND_ATTRIBUTE_KEY}="${this._currentAction}"]`);
|
||||||
const modifiers = new KeyShortcutModifiers(event.ctrlKey, event.altKey, event.shiftKey, event.metaKey);
|
let accelKey = false;
|
||||||
|
let controlKey = false;
|
||||||
|
if (AppConstants.platform === 'macosx') {
|
||||||
|
accelKey = event.metaKey;
|
||||||
|
controlKey = event.ctrlKey;
|
||||||
|
} else {
|
||||||
|
accelKey = event.ctrlKey;
|
||||||
|
}
|
||||||
|
const modifiers = new KeyShortcutModifiers(controlKey, event.altKey, event.shiftKey, event.metaKey, accelKey);
|
||||||
const modifiersActive = modifiers.areAnyActive();
|
const modifiersActive = modifiers.areAnyActive();
|
||||||
|
|
||||||
let shortcut = event.key;
|
let shortcut = event.key;
|
||||||
|
Reference in New Issue
Block a user