mirror of https://github.com/OpenTTD/OpenTTD
Fix: Viewport drag tooltip flickering when dragging outside window
parent
1529403584
commit
ae94b2d296
|
@ -782,7 +782,7 @@ void GuiShowTooltips(Window *parent, StringID str, uint paramcount, const uint64
|
|||
{
|
||||
DeleteWindowById(WC_TOOLTIPS, 0);
|
||||
|
||||
if (str == STR_NULL) return;
|
||||
if (str == STR_NULL || !_cursor.in_window) return;
|
||||
|
||||
new TooltipsWindow(parent, str, paramcount, params, close_tooltip);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue