mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
[ui] mouse: add "Ctrl+Left click" as an alternative to Middle click
This commit is contained in:
parent
2eb2c3ac6f
commit
10026e3281
3 changed files with 9 additions and 9 deletions
|
@ -58,7 +58,7 @@ Item {
|
|||
}
|
||||
|
||||
onPressed: {
|
||||
if(mouse.button & Qt.MiddleButton)
|
||||
if(mouse.button & Qt.MiddleButton || (mouse.button & Qt.LeftButton && mouse.modifiers & Qt.ControlModifier))
|
||||
drag.target = draggable // start drag
|
||||
}
|
||||
onReleased: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue