mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-03 00:18:37 +00:00
Compare commits
1 Commits
dev
...
folder-ani
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4340f1bc77 |
@@ -117,6 +117,10 @@
|
||||
return activeGroups;
|
||||
}
|
||||
|
||||
get childActiveGroups() {
|
||||
return Array.from(this.querySelectorAll('zen-folder[has-active]'));
|
||||
}
|
||||
|
||||
rename() {
|
||||
if (!document.documentElement.hasAttribute('zen-sidebar-expanded')) {
|
||||
return;
|
||||
@@ -240,9 +244,10 @@
|
||||
}
|
||||
|
||||
async #unloadAllActiveTabs(event, noClose = false) {
|
||||
for (const tab of this.tabs) {
|
||||
await gZenPinnedTabManager._onCloseTabShortcut(event, tab, { noClose });
|
||||
}
|
||||
await gZenPinnedTabManager._onCloseTabShortcut(event, this.tabs, {
|
||||
noClose,
|
||||
folderToUnload: this,
|
||||
});
|
||||
this.activeTabs = [];
|
||||
}
|
||||
|
||||
|
@@ -1084,7 +1084,7 @@ class nsZenKeyboardShortcutsVersioner {
|
||||
data.push(
|
||||
new KeyShortcut(
|
||||
'zen-new-empty-split-view',
|
||||
AppConstants.platform == 'macosx' ? '+' : '*',
|
||||
AppConstants.platform == 'linux' ? '*' : '+',
|
||||
'',
|
||||
ZEN_SPLIT_VIEW_SHORTCUTS_GROUP,
|
||||
nsKeyShortcutModifiers.fromObject({ accel: true, shift: true }),
|
||||
|
Reference in New Issue
Block a user