[vlc-devel] [PATCH 22/29] qml: highlight roundButton when on activeFocus

Abel Tesfaye abeltesfaye45 at gmail.com
Tue Aug 20 12:42:39 CEST 2019


From: Abel Tesfaye <Abeltesfaye45 at gmail.com>

---
 modules/gui/qt/qml/utils/RoundButton.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/qml/utils/RoundButton.qml b/modules/gui/qt/qml/utils/RoundButton.qml
index e2cd65702d..aa48eef3e1 100644
--- a/modules/gui/qt/qml/utils/RoundButton.qml
+++ b/modules/gui/qt/qml/utils/RoundButton.qml
@@ -27,7 +27,7 @@ Button{
     contentItem: Text {
         text: control.text
         font: control.font
-        color: control.hovered || activeFocus ? VLCStyle.colors.accent : VLCStyle.colors.text
+        color: control.hovered || control.activeFocus ? VLCStyle.colors.accent : VLCStyle.colors.text
         horizontalAlignment: Text.AlignHCenter
         verticalAlignment: Text.AlignVCenter
     }
-- 
2.21.0



More information about the vlc-devel mailing list