Hide tooltip on gesture input

This commit is contained in:
Bernhard Liebl 2017-12-22 19:39:23 +01:00
parent 32d8b99bc3
commit 27afa8813d

View file

@ -2036,6 +2036,8 @@ void Viewport::_gui_input_event(Ref<InputEvent> p_event) {
Ref<InputEventGesture> gesture_event = p_event;
if (gesture_event.is_valid()) {
_gui_cancel_tooltip();
Size2 pos = gesture_event->get_position();
Control *over = _gui_find_control(pos);