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


Commits:
c67e2f7c by Benjamin Arnaud at 2021-12-02T16:18:57+00:00
qml/VideoGridItem: Keep the progress bar visible when hovering

- - - - -


1 changed file:

- modules/gui/qt/medialibrary/qml/VideoGridItem.qml


Changes:

=====================================
modules/gui/qt/medialibrary/qml/VideoGridItem.qml
=====================================
@@ -67,14 +67,16 @@ Widgets.GridItem {
         Widgets.VideoProgressBar {
             id: progressBar
 
-            visible: !root.highlighted && value > 0
-            value: model.progress > 0 ? model.progress : 0
             anchors {
                 bottom: parent.bottom
                 left: parent.left
                 right: parent.right
                 rightMargin: root.pictureRadius
             }
+
+            visible: (value > 0)
+
+            value: (model.progress > 0) ? model.progress : 0
         }
     }
 



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

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


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to