[vlc-commits] [Git][videolan/vlc][master] qml: take exclusive grab for right button until release in `PlaybackSpeedButton.qml`
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sun Jan 5 13:14:04 UTC 2025
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
f033b402 by Fatih Uzunoglu at 2025-01-05T12:52:12+00:00
qml: take exclusive grab for right button until release in `PlaybackSpeedButton.qml`
So that context menu is not opened in the player page.
- - - - -
1 changed file:
- modules/gui/qt/player/qml/controlbarcontrols/PlaybackSpeedButton.qml
Changes:
=====================================
modules/gui/qt/player/qml/controlbarcontrols/PlaybackSpeedButton.qml
=====================================
@@ -103,6 +103,8 @@ PopupIconToolButton {
enabled: root.popup.contentItem && root.popup.contentItem.slider
+ gesturePolicy: TapHandler.ReleaseWithinBounds
+
onTapped: (eventPoint, button) => {
root.popup.contentItem.slider.value = 0
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f033b40299991e88b1a9452c9f7575197ef04c5d
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f033b40299991e88b1a9452c9f7575197ef04c5d
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