bar: fix auto-hide not hiding after popout closes (#796)

This commit is contained in:
Lucas authored and GitHub committed 2025-11-23 01:38:58 -05:00
1 parent 1e7e1c2d78
commit 97c11a2482
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -453,7 +453,8 @@ PanelWindow {
const activeTrayMenu = TrayMenuManager.activeTrayMenus[screenName];
const trayOpen = rootWindow.systemTrayMenuOpen;
topBarCore.hasActivePopout = !!(activePopout || activeTrayMenu || trayOpen);
const hasVisiblePopout = activePopout && activePopout.shouldBeVisible;
topBarCore.hasActivePopout = !!(hasVisiblePopout || activeTrayMenu || trayOpen);
}
}
+1
View File
@@ -93,6 +93,7 @@ PanelWindow {
function close() {
shouldBeVisible = false
PopoutManager.popoutChanged()
closeTimer.restart()
}