mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 04:12:15 +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
|
@ -93,7 +93,7 @@ FocusScope {
|
|||
acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton
|
||||
onPressed: {
|
||||
image.forceActiveFocus()
|
||||
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 = image // start drag
|
||||
}
|
||||
onReleased: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue