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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user