vlc | branch: master | Prince Gupta <[email protected]> | 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 <[email protected]> > 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 } } ] _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
