background: make switching between clock stylies less janky

This commit is contained in:
end-4
2025-11-14 22:46:11 +01:00
parent aa85e2168e
commit cc519e9f60
2 changed files with 4 additions and 0 deletions
@@ -44,6 +44,7 @@ AbstractBackgroundWidget {
id: cookieClockLoader
anchors.horizontalCenter: parent.horizontalCenter
shown: root.clockStyle === "cookie" && (root.shouldShow)
fade: false
sourceComponent: Column {
spacing: 10
CookieClock {
@@ -61,6 +62,7 @@ AbstractBackgroundWidget {
id: digitalClockLoader
anchors.horizontalCenter: parent.horizontalCenter
shown: root.clockStyle === "digital" && (root.shouldShow)
fade: false
sourceComponent: ColumnLayout {
id: clockColumn
spacing: 6