1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Fix #7748. Move tooltip timeout reset to correct location (#13132)

* Fix #7748. Move tooltip timeout reset to correct location

Mistake made in implementation

* Add changelog entry
This commit is contained in:
Duncan
2020-10-09 16:53:31 +01:00
committed by GitHub
parent 84c9ff833a
commit 197bb897bb
2 changed files with 5 additions and 4 deletions

View File

@@ -931,10 +931,6 @@ static void input_widget_over(const ScreenCoordsXY& screenCoords, rct_window* w,
{
input_update_tooltip(w, widgetIndex, screenCoords);
}
gTooltipTimeout = 0;
gTooltipCursorX = screenCoords.x;
gTooltipCursorY = screenCoords.y;
}
/**
@@ -1439,6 +1435,10 @@ static void input_update_tooltip(rct_window* w, rct_widgetindex widgetIndex, con
window_tooltip_open(w, widgetIndex, screenCoords);
}
}
gTooltipTimeout = 0;
gTooltipCursorX = screenCoords.x;
gTooltipCursorY = screenCoords.y;
}
else
{