[vlc-commits] [Git][videolan/vlc][master] qml: restore global cursor on `canceled()` in HorizontalResizeHandle

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Jul 20 15:33:10 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
f8e9560c by Fatih Uzunoglu at 2024-07-20T15:16:56+00:00
qml: restore global cursor on `canceled()` in HorizontalResizeHandle

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/HorizontalResizeHandle.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/HorizontalResizeHandle.qml
=====================================
@@ -52,6 +52,10 @@ MouseArea {
         MainCtx.restoreCursor()
     }
 
+    onCanceled: {
+        MainCtx.restoreCursor()
+    }
+
     onPositionChanged: {
         const f = atRight ? -1 : 1
         const delta = mouseX - _previousX



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f8e9560c1f8c4d5dcca21f8087f15c8969f4e9d0
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