Merge pull request #7385 from bojidar-bg/tree-range-drag-lock
Fix #7098 by not accepting right clicks while dragging the range
This commit is contained in:
commit
f50afe81d8
1 changed files with 3 additions and 0 deletions
|
@ -2414,6 +2414,9 @@ void Tree::_input_event(InputEvent p_event) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (range_drag_enabled)
|
||||||
|
break;
|
||||||
|
|
||||||
switch(b.button_index) {
|
switch(b.button_index) {
|
||||||
case BUTTON_RIGHT:
|
case BUTTON_RIGHT:
|
||||||
case BUTTON_LEFT: {
|
case BUTTON_LEFT: {
|
||||||
|
|
Loading…
Reference in a new issue