We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebd1910 commit ffab4a8Copy full SHA for ffab4a8
src/zen/workspaces/ZenWorkspaces.mjs
@@ -524,7 +524,7 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
524
525
_handleAppCommand(event) {
526
// note: Dont use this._hoveringSidebar as it's not as reliable as checking for :hover
527
- if (!this.workspaceEnabled || !gNavToolbox.matches(':hover')) {
+ if (!this.workspaceEnabled || !this._hoveringSidebar) {
528
return;
529
}
530
@@ -542,6 +542,9 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
542
event.preventDefault();
543
break;
544
545
+ requestAnimationFrame(() => {
546
+ gNavToolbox.setAttribute('zen-has-hover', 'true');
547
+ });
548
549
550
_setupSidebarHandlers() {
0 commit comments