[vlc-commits] [Git][videolan/vlc][master] qml/ActionButtonPrimary: Fix keyboard focus color for action buttons

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Sat Sep 4 09:55:48 UTC 2021



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
b7331f72 by Benjamin Arnaud at 2021-09-04T09:40:15+00:00
qml/ActionButtonPrimary: Fix keyboard focus color for action buttons

- - - - -


2 changed files:

- modules/gui/qt/medialibrary/qml/ArtistTopBanner.qml
- modules/gui/qt/widgets/qml/ActionButtonPrimary.qml


Changes:

=====================================
modules/gui/qt/medialibrary/qml/ArtistTopBanner.qml
=====================================
@@ -127,6 +127,8 @@ FocusScope {
                         iconTxt: VLCIcons.play
                         text: i18n.qtr("Play all")
                         focus: true
+                        // NOTE: In overlay, the focus rectangle is always white.
+                        colorFocus: VLCStyle.colors.white
                         onClicked: medialib.addAndPlay( artist.id )
                     }
 


=====================================
modules/gui/qt/widgets/qml/ActionButtonPrimary.qml
=====================================
@@ -29,6 +29,4 @@ TabButtonExt {
                                : VLCStyle.colors.accent
 
     foregroundColor: "white"
-
-    colorFocus: VLCStyle.colors.white
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b7331f72587df124d9e90ff213929cbbe2a64aef

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b7331f72587df124d9e90ff213929cbbe2a64aef
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list