mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -2388,6 +2388,9 @@ void Tree::_input_event(InputEvent p_event) {
|
|||
|
||||
}
|
||||
|
||||
if (range_drag_enabled)
|
||||
break;
|
||||
|
||||
switch(b.button_index) {
|
||||
case BUTTON_RIGHT:
|
||||
case BUTTON_LEFT: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue