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

Fix dank bar on overview clicks

This commit is contained in:
bbedward
2025-10-06 22:35:30 -04:00
parent 4c3b7ca60f
commit 1f8bddaa5e

View File

@@ -227,8 +227,10 @@ Item {
readonly property int barThickness: px(barWindow.effectiveBarThickness + SettingsData.dankBarSpacing)
readonly property bool showing: SettingsData.dankBarVisible && (topBarCore.reveal
|| (CompositorService.isNiri && NiriService.inOverview && SettingsData.dankBarOpenOnOverview)
readonly property bool inOverviewWithShow: CompositorService.isNiri && NiriService.inOverview && SettingsData.dankBarOpenOnOverview
readonly property bool effectiveVisible: SettingsData.dankBarVisible || inOverviewWithShow
readonly property bool showing: effectiveVisible && (topBarCore.reveal
|| inOverviewWithShow
|| !topBarCore.autoHide)
readonly property int maskThickness: showing ? barThickness : 1