diff --git a/qml/main.qml b/qml/main.qml index 0d053ef..f3e55f2 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -41,9 +41,9 @@ Item { Rectangle { id: _background anchors.fill: parent - radius: windowRadius + radius: windowHelper.compositing ? windowRadius : 0 color: FishUI.Theme.darkMode ? "#333333" : "#F2F2F2" - opacity: FishUI.Theme.darkMode ? 0.5 : 0.4 + opacity: windowHelper.compositing ? FishUI.Theme.darkMode ? 0.5 : 0.4 : 1 border.width: 0 Behavior on color { @@ -54,6 +54,10 @@ Item { } } + FishUI.WindowHelper { + id: windowHelper + } + FishUI.WindowShadow { view: mainWindow geometry: Qt.rect(root.x, root.y, root.width, root.height)