diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 8abf55acd8..d067a144f8 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -1,5 +1,6 @@ 0.4.29 (in development) ------------------------------------------------------------------------ +- Fix: [#25451] Dropdown item tooltips stay open if the mouse is moved over an empty space. 0.4.28 (2025-11-01) ------------------------------------------------------------------------ diff --git a/src/openrct2-ui/input/MouseInput.cpp b/src/openrct2-ui/input/MouseInput.cpp index 0de2167bfa..b388897cd1 100644 --- a/src/openrct2-ui/input/MouseInput.cpp +++ b/src/openrct2-ui/input/MouseInput.cpp @@ -1466,6 +1466,11 @@ namespace OpenRCT2 int32_t dropdown_index = DropdownIndexFromPoint(screenCoords, w); if (dropdown_index == -1) { + if (gDropdown.hasTooltips && gDropdown.lastTooltipHover != -1) + { + gDropdown.lastTooltipHover = -1; + WindowTooltipClose(); + } return; }