1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 23:12:49 -05:00

dankbar: keep sticky reveal when tray menu is open

This commit is contained in:
bbedward
2025-11-11 13:18:19 -05:00
parent b753c8840b
commit 1c8f0d6292
2 changed files with 20 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ Item {
property alias barVariants: barVariants
property var hyprlandOverviewLoader: null
property bool systemTrayMenuOpen: false
function triggerControlCenterOnFocusedScreen() {
let focusedScreenName = ""
@@ -444,7 +445,7 @@ Item {
return item.loader.item[item.prop]
}
return false
})
}) || root.systemTrayMenuOpen
}
Connections {
@@ -470,7 +471,10 @@ Item {
}
onHasActivePopoutChanged: {
if (!hasActivePopout && autoHide && !topBarMouseArea.containsMouse) {
if (hasActivePopout) {
revealSticky = true
revealHold.stop()
} else if (autoHide && !topBarMouseArea.containsMouse) {
revealSticky = true
revealHold.restart()
}