dock: make loading async

This commit is contained in:
end-4
2025-06-15 16:22:13 +02:00
parent e4683115bd
commit eb8fc41c01
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -19,12 +19,12 @@ Scope { // Scope
Variants { // For each monitor
model: Quickshell.screens
Loader {
LazyLoader {
id: dockLoader
required property var modelData
active: ConfigOptions?.dock.hoverToReveal || (!ToplevelManager.activeToplevel?.activated)
activeAsync: ConfigOptions?.dock.hoverToReveal || (!ToplevelManager.activeToplevel?.activated)
sourceComponent: PanelWindow { // Window
component: PanelWindow { // Window
id: dockRoot
screen: dockLoader.modelData