mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix: too many options are hidden if the platform has no file picker
Mainly affects Android. Co-authored-by: Basssiiie <Basssiiie@users.noreply.github.com>
This commit is contained in:
parent
ad5ef31a97
commit
6a9f9025ff
|
@ -1,7 +1,8 @@
|
|||
0.4.9 (in development)
|
||||
------------------------------------------------------------------------
|
||||
- Fix: [#20907] RCT1/AA scenarios use the 4-across train for the Inverted Roller Coaster.
|
||||
- Fix: [#21332] Mini helicopters & monorail cycles ride types being swapped in research within RCT1 scenarios.
|
||||
- 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.
|
||||
|
||||
0.4.8 (2024-02-04)
|
||||
------------------------------------------------------------------------
|
||||
|
|
|
@ -649,7 +649,8 @@ private:
|
|||
|
||||
disabled_widgets = 0;
|
||||
auto hasFilePicker = OpenRCT2::GetContext()->GetUiContext()->HasFilePicker();
|
||||
if (!hasFilePicker)
|
||||
const bool controlsTabSelected = (WIDX_FIRST_TAB + page) == WIDX_TAB_CONTROLS_AND_INTERFACE;
|
||||
if (!hasFilePicker && controlsTabSelected)
|
||||
{
|
||||
disabled_widgets |= (1uLL << WIDX_ALWAYS_NATIVE_LOADSAVE);
|
||||
widgets[WIDX_ALWAYS_NATIVE_LOADSAVE].type = WindowWidgetType::Empty;
|
||||
|
|
Loading…
Reference in New Issue