diff --git a/qml/ControlCenter.qml b/qml/ControlCenter.qml index a8d69f1..8e359e1 100644 --- a/qml/ControlCenter.qml +++ b/qml/ControlCenter.qml @@ -83,9 +83,9 @@ ControlCenterDialog { Rectangle { id: _background anchors.fill: parent - radius: control.height * 0.05 + radius: windowHelper.compositing ? control.height * 0.05 : 0 color: FishUI.Theme.darkMode ? "#333333" : "#FFFFFF" - opacity: FishUI.Theme.darkMode ? 0.5 : 0.7 + opacity: windowHelper.compositing ? FishUI.Theme.darkMode ? 0.5 : 0.7 : 1.0 antialiasing: true border.width: 0 } diff --git a/qml/main.qml b/qml/main.qml index b73a0b2..19d3274 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -35,7 +35,7 @@ Item { id: background anchors.fill: parent color: FishUI.Theme.darkMode ? "#333333" : "#FFFFFF" - opacity: FishUI.Theme.darkMode ? 0.5 : 0.7 + opacity: windowHelper.compositing ? FishUI.Theme.darkMode ? 0.5 : 0.7 : 1.0 Behavior on color { ColorAnimation { @@ -45,6 +45,10 @@ Item { } } + FishUI.WindowHelper { + id: windowHelper + } + FishUI.PopupTips { id: popupTips backgroundColor: FishUI.Theme.backgroundColor