Fix #7098 by not accepting right clicks while dragging the range
(cherry picked from commit d40eb1565e
)
This commit is contained in:
parent
f520e7788e
commit
27a801df99
|
@ -2388,6 +2388,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 New Issue