mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
Fix #21696: Fullscreen window option not correctly applied on macOS
This commit is contained in:
parent
ddc386b186
commit
1b4defbae9
2 changed files with 1 additions and 5 deletions
|
@ -5,6 +5,7 @@
|
|||
- 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.
|
||||
- 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.
|
||||
- Fix: [#21829] When creating a new scenario, the default name contains formatting codes.
|
||||
|
||||
|
|
|
@ -762,12 +762,7 @@ private:
|
|||
|
||||
UpdateFullscreenResolutions();
|
||||
|
||||
// Fix #4022: Force Mac to windowed to avoid cursor offset on launch issue
|
||||
#ifdef __MACOSX__
|
||||
gConfigGeneral.FullscreenMode = static_cast<int32_t>(OpenRCT2::Ui::FULLSCREEN_MODE::WINDOWED);
|
||||
#else
|
||||
SetFullscreenMode(static_cast<FULLSCREEN_MODE>(gConfigGeneral.FullscreenMode));
|
||||
#endif
|
||||
TriggerResize();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue