controlcenter: fix desktop clock settings (#1114)
Add missing desktop clock properties to serializeBackground() function: - desktopClock.scale - desktopClock.position - desktopClock.invertColors - desktopClock.background.enabled - desktopClock.background.opacity - desktopClock.background.blur - desktopClock.shadow.enabled - desktopClock.shadow.opacity - desktopClock.shadow.blur This fixes the issue where the desktop clock background enabled toggle (and other desktop clock settings) would not persist when the control center was reloaded.
This commit is contained in:
parent
2ddc367e4e
commit
617f7a19f3
1 changed files with 14 additions and 1 deletions
|
|
@ -149,7 +149,20 @@ Singleton {
|
|||
return {
|
||||
enabled: background.enabled,
|
||||
desktopClock: {
|
||||
enabled: background.desktopClock.enabled
|
||||
enabled: background.desktopClock.enabled,
|
||||
scale: background.desktopClock.scale,
|
||||
position: background.desktopClock.position,
|
||||
invertColors: background.desktopClock.invertColors,
|
||||
background: {
|
||||
enabled: background.desktopClock.background.enabled,
|
||||
opacity: background.desktopClock.background.opacity,
|
||||
blur: background.desktopClock.background.blur
|
||||
},
|
||||
shadow: {
|
||||
enabled: background.desktopClock.shadow.enabled,
|
||||
opacity: background.desktopClock.shadow.opacity,
|
||||
blur: background.desktopClock.shadow.blur
|
||||
}
|
||||
},
|
||||
visualiser: {
|
||||
enabled: background.visualiser.enabled,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue