1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-30 00:12:50 -05:00

Allow Tobar Autohide to work w/Modals

This commit is contained in:
purian23
2025-09-21 15:28:15 -04:00
parent c8f87085a0
commit c3b3edcae8

View File

@@ -19,6 +19,7 @@ PanelWindow {
id: root id: root
WlrLayershell.namespace: "quickshell:bar" WlrLayershell.namespace: "quickshell:bar"
WlrLayershell.layer: WlrLayershell.Overlay
property var modelData property var modelData
property var notepadVariants: null property var notepadVariants: null
@@ -188,7 +189,7 @@ PanelWindow {
"loader": systemUpdateLoader, "loader": systemUpdateLoader,
"prop": "shouldBeVisible" "prop": "shouldBeVisible"
}] }]
return notepadInstanceVisible || loaders.some(item => { return loaders.some(item => {
if (item.loader) { if (item.loader) {
return item.loader?.item?.[item.prop] return item.loader?.item?.[item.prop]
} }