[vlc-commits] [Git][videolan/vlc][master] Activefocus effects needs to be used with selected

Jean-Baptiste Kempf gitlab at videolan.org
Thu May 13 10:07:12 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
aa5158b2 by Zou Ya at 2021-05-13T09:18:48+00:00
Activefocus effects needs to be used with selected

Solves the problem of wrong display of the selected state when
pressing and holding the CTRL key to select multiple items in
the play list and canceling multiple items.

- - - - -


1 changed file:

- modules/gui/qt/playlist/qml/PlaylistDelegate.qml


Changes:

=====================================
modules/gui/qt/playlist/qml/PlaylistDelegate.qml
=====================================
@@ -47,7 +47,7 @@ Rectangle {
     }
 
     color: {
-        if ((activeFocus && listView.mode !== PlaylistListView.Mode.Select) || (hovered && selected))
+        if ((selected && activeFocus && listView.mode !== PlaylistListView.Mode.Select) || (hovered && selected))
             colors.plItemFocused
         else if (hovered)
             colors.plItemHovered



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

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




More information about the vlc-commits mailing list