From 55f0228a6caeb59ee693e338b3dbd85a84885c77 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Sun, 12 Dec 2021 22:05:02 +0100 Subject: [PATCH] Fix dark/light color of quick menu --- ScreenPlay/qml/Navigation/Navigation.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ScreenPlay/qml/Navigation/Navigation.qml b/ScreenPlay/qml/Navigation/Navigation.qml index 1cc53e11..dc327eb0 100644 --- a/ScreenPlay/qml/Navigation/Navigation.qml +++ b/ScreenPlay/qml/Navigation/Navigation.qml @@ -138,8 +138,8 @@ Rectangle { anchors.centerIn: quickActionRow width: quickActionRow.width + 5 height: quickActionRow.height - 16 - color: "transparent" - border.color: Material.iconDisabledColor + color: Material.theme === Material.Light ? Material.background : "#242424" + border.color: Material.theme === Material.Light ? Material.iconDisabledColor : Qt.darker(Material.background) border.width: 1 radius: 3 } @@ -231,7 +231,7 @@ Rectangle { } Rectangle { - color: Material.iconDisabledColor + color: Material.theme === Material.Light ? Material.iconDisabledColor : Qt.darker(Material.background) height: quickActionRowBackground.height width: 1 }