Fix #7098 by not accepting right clicks while dragging the range
This commit is contained in:
parent
c798ff1551
commit
d40eb1565e
1 changed files with 3 additions and 0 deletions
|
@ -2405,6 +2405,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