mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
dock: fix show on overview logic
This commit is contained in:
@@ -91,7 +91,12 @@ Variants {
|
|||||||
}
|
}
|
||||||
|
|
||||||
screen: modelData
|
screen: modelData
|
||||||
visible: SettingsData.showDock || (CompositorService.isNiri && SettingsData.dockOpenOnOverview && NiriService.inOverview)
|
visible: {
|
||||||
|
if (CompositorService.isNiri && NiriService.inOverview) {
|
||||||
|
return SettingsData.dockOpenOnOverview
|
||||||
|
}
|
||||||
|
return SettingsData.showDock
|
||||||
|
}
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user