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 Mistake made in implementation * Add changelog entry
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user