mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 13:36:31 +02:00
[ui] use shift to pan (instead of Ctrl)
This commit is contained in:
parent
9bd70ed8ac
commit
44e34d7eb3
3 changed files with 13 additions and 4 deletions
|
@ -94,10 +94,10 @@ Item {
|
|||
}
|
||||
|
||||
onPressed: {
|
||||
if(mouse.button == Qt.LeftButton)
|
||||
if(mouse.button != Qt.MiddleButton && mouse.modifiers == Qt.NoModifier)
|
||||
selectNode(null)
|
||||
|
||||
if(mouse.button == Qt.MiddleButton || (mouse.button & Qt.LeftButton && mouse.modifiers & Qt.ControlModifier))
|
||||
if(mouse.button == Qt.MiddleButton || (mouse.button & Qt.LeftButton && mouse.modifiers & Qt.ShiftModifier))
|
||||
drag.target = draggable // start drag
|
||||
}
|
||||
onReleased: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue