[vlc-commits] [Git][videolan/vlc][master] 3 commits: qml: vertically center playlist group in topbar

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Mar 24 15:39:44 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b0691b6a by Prince Gupta at 2023-03-24T15:10:30+00:00
qml: vertically center playlist group in topbar

- - - - -
b49857c0 by Prince Gupta at 2023-03-24T15:10:30+00:00
qml: fix CSD drag on Player's TopBar

- - - - -
1ed24cb2 by Prince Gupta at 2023-03-24T15:10:30+00:00
qml: fix wheel filtering in PIPPlayer

- - - - -


2 changed files:

- modules/gui/qt/player/qml/PIPPlayer.qml
- modules/gui/qt/player/qml/TopBar.qml


Changes:

=====================================
modules/gui/qt/player/qml/PIPPlayer.qml
=====================================
@@ -79,7 +79,7 @@ Item {
         drag.maximumX: root.dragXMax
         drag.maximumY: root.dragYMax
 
-        onWheel: wheel.accept()
+        onWheel: wheel.accepted = true
 
         Rectangle {
             color: "#10000000"


=====================================
modules/gui/qt/player/qml/TopBar.qml
=====================================
@@ -177,10 +177,7 @@ FocusScope{
     Loader {
         id: tapNDrag
 
-        anchors.left: parent.left
-        anchors.right: parent.right
-        anchors.top: parent.top
-
+        anchors.fill: parent
         active: root.showCSD
         source: "qrc:///widgets/CSDTitlebarTapNDrapHandler.qml"
     }
@@ -392,6 +389,7 @@ FocusScope{
         Widgets.IconControlButton {
             id: menuSelector
 
+            anchors.verticalCenter: parent.verticalCenter
             visible: !root.showToolbar
             enabled: visible
             focus: visible
@@ -424,6 +422,7 @@ FocusScope{
         Widgets.IconControlButton {
             id: playlistButton
 
+            anchors.verticalCenter: parent.verticalCenter
             objectName: ControlListModel.PLAYLIST_BUTTON
             size: VLCStyle.icon_banner
             iconText: VLCIcons.playlist



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/817edbb11657c46f083c2bc2ddbd7093c10504c5...1ed24cb23a4a4cfd1786aa80cfbf6568ed89d3fb

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/817edbb11657c46f083c2bc2ddbd7093c10504c5...1ed24cb23a4a4cfd1786aa80cfbf6568ed89d3fb
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