[vlc-commits] qml: make default foreground color configurable in FocusBackground
Prince Gupta
git at videolan.org
Thu Jan 14 14:42:28 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Wed Dec 23 23:38:20 2020 +0530| [49cfdc7048200ec3b50de0834762ed06980b9038] | committer: Pierre Lamot
qml: make default foreground color configurable in FocusBackground
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=49cfdc7048200ec3b50de0834762ed06980b9038
---
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
}
}
]
More information about the vlc-commits
mailing list