1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-02 03:28:28 -04:00

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

This commit is contained in:
bbedward
2026-07-15 09:38:19 -04:00
parent f18d36f6c2
commit ec27d4643c
5 changed files with 55 additions and 6 deletions
@@ -359,6 +359,17 @@ Item {
anchors.fill: parent
active: root.widgetEnabled && root.activeComponent !== null
sourceComponent: root.activeComponent
opacity: 0
NumberAnimation {
id: revealFade
target: contentLoader
property: "opacity"
from: 0
to: 1
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}
function reloadComponent() {
active = false;
@@ -384,6 +395,8 @@ Item {
if (!item)
return;
revealFade.restart();
if (item.pluginService !== undefined) {
item.pluginService = root.isInstance ? instanceScopedPluginService : root.pluginService;
}