mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
Fix dank bar on overview clicks
This commit is contained in:
@@ -227,8 +227,10 @@ Item {
|
|||||||
|
|
||||||
readonly property int barThickness: px(barWindow.effectiveBarThickness + SettingsData.dankBarSpacing)
|
readonly property int barThickness: px(barWindow.effectiveBarThickness + SettingsData.dankBarSpacing)
|
||||||
|
|
||||||
readonly property bool showing: SettingsData.dankBarVisible && (topBarCore.reveal
|
readonly property bool inOverviewWithShow: CompositorService.isNiri && NiriService.inOverview && SettingsData.dankBarOpenOnOverview
|
||||||
|| (CompositorService.isNiri && NiriService.inOverview && SettingsData.dankBarOpenOnOverview)
|
readonly property bool effectiveVisible: SettingsData.dankBarVisible || inOverviewWithShow
|
||||||
|
readonly property bool showing: effectiveVisible && (topBarCore.reveal
|
||||||
|
|| inOverviewWithShow
|
||||||
|| !topBarCore.autoHide)
|
|| !topBarCore.autoHide)
|
||||||
|
|
||||||
readonly property int maskThickness: showing ? barThickness : 1
|
readonly property int maskThickness: showing ? barThickness : 1
|
||||||
|
|||||||
Reference in New Issue
Block a user