Fix #7098 by not accepting right clicks while dragging the range

(cherry picked from commit d40eb1565e)
This commit is contained in:
Bojidar Marinov 2016-12-28 23:20:54 +02:00 committed by Rémi Verschelde
parent f520e7788e
commit 27a801df99
1 changed files with 3 additions and 0 deletions

View File

@ -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: {