Cheats menu: do not autoclose

This commit is contained in:
Gymnasiast 2024-04-20 17:56:48 +02:00 committed by Michael Steenbeek
parent 0e1e93e898
commit 9906a18bc7
No known key found for this signature in database
GPG Key ID: 92EB181D74FDE5EF
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
- Feature: [#21734] Park admittance price can now be set via text input.
- Improved: [#21769] Expose “animation is backwards” wall property in Tile Inspector.
- Change: [#21715] [Plugin] Remove access to the internal `owner` property. Note: `ownership` is still accessible.
- Change: [#21855] Cheats menu dropdown no longer requires dragging.
- Fix: [#866] Boat Hire boats get stuck entering track.
- Fix: [#21696] Fullscreen window option not correctly applied on macOS.
- Fix: [#21787] Map generator heightmap should respect increased height limits.

View File

@ -3730,8 +3730,8 @@ static Widget _topToolbarWidgets[] = {
SetItems(items);
WindowDropdownShowText(
{ windowPos.x + widget.left, windowPos.y + widget.top }, widget.height() + 1, colours[0] | 0x80, 0,
TOP_TOOLBAR_CHEATS_COUNT);
{ windowPos.x + widget.left, windowPos.y + widget.top }, widget.height() + 1, colours[0] | 0x80,
Dropdown::Flag::StayOpen, TOP_TOOLBAR_CHEATS_COUNT);
// Disable items that are not yet available in multiplayer
if (NetworkGetMode() != NETWORK_MODE_NONE)