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

This commit is contained in:
Bojidar Marinov 2016-12-28 23:20:54 +02:00
parent c798ff1551
commit d40eb1565e
No known key found for this signature in database
GPG key ID: 4D546A8F1E091856

View file

@ -2405,6 +2405,9 @@ void Tree::_input_event(InputEvent p_event) {
}
if (range_drag_enabled)
break;
switch(b.button_index) {
case BUTTON_RIGHT:
case BUTTON_LEFT: {