1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 06:25:37 -05:00

Smaller top bar auto hide mask

This commit is contained in:
bbedward
2025-09-27 08:53:28 -04:00
parent 977043ac92
commit 5ebd2f6b8e

View File

@@ -152,7 +152,7 @@ PanelWindow {
}
height: {
const base = px(root.effectiveBarHeight + SettingsData.dankBarSpacing)
if (topBarCore.autoHide && !topBarCore.reveal) return 8
if (topBarCore.autoHide && !topBarCore.reveal) return 1
if (CompositorService.isNiri && NiriService.inOverview && SettingsData.dankBarOpenOnOverview) return base
return SettingsData.dankBarVisible ? base : 0
}