From 27afa8813d84d4a6f7a8eb1f1f3d6c6b9faa0bae Mon Sep 17 00:00:00 2001 From: Bernhard Liebl Date: Fri, 22 Dec 2017 19:39:23 +0100 Subject: Hide tooltip on gesture input --- scene/main/viewport.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/main/viewport.cpp') diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 8f431389d8..307fdc834d 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2036,6 +2036,8 @@ void Viewport::_gui_input_event(Ref p_event) { Ref gesture_event = p_event; if (gesture_event.is_valid()) { + _gui_cancel_tooltip(); + Size2 pos = gesture_event->get_position(); Control *over = _gui_find_control(pos); -- cgit v1.2.3