mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-23 14:06:28 +02:00
[ui] GraphEditor: display ClosedHandCursor while dragging
This commit is contained in:
parent
b46a2dbba1
commit
2990129e0f
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,8 @@ Item {
|
|||
hoverEnabled: true
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton
|
||||
drag.threshold: 0
|
||||
cursorShape: drag.active ? Qt.ClosedHandCursor : Qt.ArrowCursor
|
||||
|
||||
onWheel: {
|
||||
var zoomFactor = wheel.angleDelta.y > 0 ? factor : 1/factor
|
||||
var scale = draggable.scale * zoomFactor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue