1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

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

This commit is contained in:
Lucas
2025-11-23 03:38:58 -03:00
committed by GitHub
parent 1e7e1c2d78
commit 97c11a2482
2 changed files with 3 additions and 1 deletions

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);
}
}

View File

@@ -93,6 +93,7 @@ PanelWindow {
function close() {
shouldBeVisible = false
PopoutManager.popoutChanged()
closeTimer.restart()
}