1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Bar: fix show on overview mousearea

This commit is contained in:
bbedward
2025-09-22 15:52:45 -04:00
parent d15ee0c29b
commit 1b681e68b9

View File

@@ -145,7 +145,15 @@ PanelWindow {
left: parent.left left: parent.left
right: parent.right right: parent.right
} }
height: (topBarCore.autoHide && !topBarCore.reveal) ? 8 : (SettingsData.topBarVisible ? (root.effectiveBarHeight + SettingsData.topBarSpacing) : 0) height: {
if (topBarCore.autoHide && !topBarCore.reveal) {
return 8
}
if (CompositorService.isNiri && NiriService.inOverview && SettingsData.topBarOpenOnOverview) {
return root.effectiveBarHeight + SettingsData.topBarSpacing
}
return SettingsData.topBarVisible ? (root.effectiveBarHeight + SettingsData.topBarSpacing) : 0
}
} }
mask: Region { mask: Region {