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:
Rémi Verschelde 2017-01-02 14:38:25 +01:00 committed by GitHub
commit f50afe81d8

View file

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