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

desktoppackage: only depend on `repaintNeeded` signal to update wallpaper colors

This avoids extracting colors from wallpapers during transitions.

CCBUG: 454908
parent 7fe89659
Pipeline #185819 passed with stage
in 3 minutes and 25 seconds
......@@ -69,18 +69,8 @@ Item {
Connections {
target: root.containment.wallpaper
function onConfigurationChanged() {
colorsTimer.restart()
}
function onRepaintNeeded() {
colorsTimer.restart();
}
}
Timer {
id: colorsTimer
onTriggered: {
Qt.callLater(wallpaperColors.update)
wallpaperColors.update();
}
}
......
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