From 782f9570eb2ca5842bb72a056f76d11e5fdeda61 Mon Sep 17 00:00:00 2001 From: Fushan Wen Date: Fri, 24 Jun 2022 15:35:58 +0800 Subject: [PATCH] wallpapers/color: call repaintNeeded after color is changed Call `repaintNeeded` to update the accent color after the color is changed. --- wallpapers/color/contents/ui/main.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wallpapers/color/contents/ui/main.qml b/wallpapers/color/contents/ui/main.qml index ad2fcc394..8c96ea23f 100644 --- a/wallpapers/color/contents/ui/main.qml +++ b/wallpapers/color/contents/ui/main.qml @@ -12,6 +12,14 @@ Rectangle { color: wallpaper.configuration.Color Behavior on color { - ColorAnimation { duration: PlasmaCore.Units.longDuration } + SequentialAnimation { + ColorAnimation { + duration: PlasmaCore.Units.longDuration + } + + ScriptAction { + script: wallpaper.repaintNeeded() + } + } } }