Commit 62cc1359 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpapers/image: Hide background color when not needed

This avoids showing the background color during the transition.

BUG: 410313
FIXED-IN: 5.26
parent 4f035ce6
Pipeline #193924 passed with stage
in 8 minutes and 9 seconds
......@@ -7,6 +7,7 @@
*/
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtGraphicalEffects 1.15
Rectangle {
......@@ -27,6 +28,8 @@ Rectangle {
readonly property bool blurEnabled: backgroundColor.blur
&& (backgroundColor.fillMode === Image.PreserveAspectFit || backgroundColor.fillMode === Image.Pad)
layer.enabled: StackView.status !== StackView.Active && StackView.status !== StackView.Deactivating
Loader {
anchors.fill: parent
active: blurEnabled
......
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