[vlc-devel] [PATCH 25/39] qml: make default foreground color configurable in FocusBackground

Prince Gupta guptaprince8832 at gmail.com
Thu Jan 7 11:50:21 UTC 2021


---
 modules/gui/qt/widgets/qml/FocusBackground.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/widgets/qml/FocusBackground.qml b/modules/gui/qt/widgets/qml/FocusBackground.qml
index f416dac063..850e6e17d9 100644
--- a/modules/gui/qt/widgets/qml/FocusBackground.qml
+++ b/modules/gui/qt/widgets/qml/FocusBackground.qml
@@ -25,6 +25,7 @@ Rectangle {
 
     property bool active: activeFocus
     property bool selected: false
+    property color defaultForeground: VLCStyle.colors.text
     property color foregroundColor: VLCStyle.colors.text
 
     states: [
@@ -52,7 +53,7 @@ Rectangle {
             PropertyChanges {
                 target: root
                 color: "transparent"
-                foregroundColor: VLCStyle.colors.text
+                foregroundColor: root.defaultForeground
             }
         }
     ]
-- 
2.25.1



More information about the vlc-devel mailing list