mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-29 06:27:47 -04:00
bar: fix auto-hide not hiding after popout closes (#796)
This commit is contained in:
1 parent
1e7e1c2d78
commit
97c11a2482
2 files changed
+3
-1
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +93,7 @@ PanelWindow {
|
||||
|
||||
function close() {
|
||||
shouldBeVisible = false
|
||||
PopoutManager.popoutChanged()
|
||||
closeTimer.restart()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user