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

qs: improve initial load of wallpaper, dock, and desktop plugins

(cherry picked from commit ec27d4643c)
This commit is contained in:
bbedward
2026-07-15 09:38:19 -04:00
parent c4bca6f6cd
commit e94fc7fe99
5 changed files with 55 additions and 6 deletions
+13
View File
@@ -340,7 +340,19 @@ Variants {
return ConnectedModeState.dockRetractActiveForSide(dock._dockScreenName, dock.connectedBarSide);
}
property bool startupRevealDone: false
Timer {
id: startupRevealTimer
interval: 200
running: true
onTriggered: dock.startupRevealDone = true
}
property bool reveal: {
if (!startupRevealDone)
return false;
if (_modalRetractActive)
return false;
@@ -628,6 +640,7 @@ Variants {
id: dockContainer
anchors.fill: parent
clip: false
opacity: dock.startupRevealDone ? 1 : 0
transform: Translate {
id: dockSlide