1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix #21330: Tooltips from dropdown widgets have the wrong position

This commit is contained in:
Matt
2024-02-10 19:47:40 +02:00
committed by GitHub
parent 0c1991c004
commit c8b28ca457
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
- Improved: [#21356] Resize the title bar when moving between displays with different scaling factors on Windows systems.
- Fix: [#18963] Research table in parks from Loopy Landscapes is imported incorrectly.
- Fix: [#20907] RCT1/AA scenarios use the 4-across train for the Inverted Roller Coaster.
- Fix: [#21330] Tooltips from dropdown widgets have the wrong position.
- Fix: [#21332] Mini Helicopters and Monorail Cycles ride types are swapped in research within RCT1 scenarios.
- Fix: [#21347] Too many options are hidden if the platform has no file picker.
- Fix: [OpenSFX#18] B&M Roar sound effect not looping correctly.

View File

@@ -1463,6 +1463,11 @@ void InputStateWidgetPressed(
}
return;
}
else if (gDropdownIsColour)
{
// This is ordinarily covered in InputWidgetOver but the dropdown with colours is a special case.
InputUpdateTooltip(w, widgetIndex, screenCoords);
}
gDropdownHighlightedIndex = -1;
WindowInvalidateByClass(WindowClass::Dropdown);