Verified Commit ffdaf7bd authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpapers/hunyango: call repaintNeeded after color is changed

Call `repaintNeeded` to update the accent color after the background color
is changed.
parent fba29669
Pipeline #194764 passed with stage
in 1 minute and 45 seconds
......@@ -44,5 +44,16 @@ Rectangle {
// wallpaper so disabling animations doesn't make sense, and the duration
// shouldn't be scaled with the user's preferences because this is tuned to
// create a specific visual effect.
Behavior on color { ColorAnimation { duration: 1000; easing.type: Easing.InQuad } }
Behavior on color {
SequentialAnimation {
ColorAnimation {
duration: 1000
easing.type: Easing.InQuad
}
ScriptAction {
script: wallpaper.repaintNeeded()
}
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment