mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
Fix #21330: Tooltips from dropdown widgets have the wrong position
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user