[vlc-commits] [Git][videolan/vlc][master] qml: fix focus scrolling in Browse view

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Jun 13 09:57:23 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
c048d75b by Prince Gupta at 2024-06-13T09:32:43+00:00
qml: fix focus scrolling in Browse view

- - - - -


1 changed file:

- modules/gui/qt/network/qml/BrowseHomeDisplay.qml


Changes:

=====================================
modules/gui/qt/network/qml/BrowseHomeDisplay.qml
=====================================
@@ -102,10 +102,10 @@ FocusScope {
         }
 
         // TODO: We could implement a scrolling animation like in ExpandGridView.
-        if (maxY > flickable.contentItem.contentY + flickable.height) {
-            flickable.contentItem.contentY = maxY - flickable.height
-        } else if (minY < flickable.contentItem.contentY) {
-            flickable.contentItem.contentY = minY
+        if (maxY > flickable.contentY + flickable.height) {
+            flickable.contentY = maxY - flickable.height
+        } else if (minY < flickable.contentY) {
+            flickable.contentY = minY
         }
     }
 



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

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c048d75b1b3c8f11566717ce8713934b9a3cf8c9
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list