1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-07 22:18:30 -04:00

fix(dock): skip creating dock layers when dock is disabled (#3014)

This commit is contained in:
Huỳnh Thiện Lộc
2026-08-08 02:43:38 +07:00
committed by GitHub
parent 40a9ca348c
commit 38cca3195f
+1 -1
View File
@@ -9,7 +9,7 @@ import qs.Widgets
Variants { Variants {
id: dockVariants id: dockVariants
// Connected frame mode renders the dock inside the frame surface; skip the standalone window there. // Connected frame mode renders the dock inside the frame surface; skip the standalone window there.
model: SettingsData.getFilteredScreens("dock").filter(screen => !CompositorService.frameHostsDockForScreen(screen)) model: SettingsData.showDock ? SettingsData.getFilteredScreens("dock").filter(screen => !CompositorService.frameHostsDockForScreen(screen)) : []
property var contextMenu property var contextMenu
property var trashContextMenu property var trashContextMenu