[vlc-commits] qml: highlight roundButton when on activeFocus

Abel Tesfaye git at videolan.org
Wed Aug 21 15:09:00 CEST 2019


vlc | branch: master | Abel Tesfaye <Abeltesfaye45 at gmail.com> | Fri Aug 16 17:12:40 2019 +0300| [feba5fc418fcf921371466853f5e669ceecdad29] | committer: Jean-Baptiste Kempf

qml: highlight roundButton when on activeFocus

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=feba5fc418fcf921371466853f5e669ceecdad29
---

 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
     }



More information about the vlc-commits mailing list