mirror of https://github.com/ppy/osu
Use `macOS` instead of `IsApple` for better safety
This commit is contained in:
parent
1a835f0622
commit
3ad1180c48
|
@ -664,7 +664,7 @@ protected override IDictionary<FrameworkSetting, object> GetFrameworkConfigDefau
|
||||||
{
|
{
|
||||||
// General expectation that osu! starts in fullscreen by default (also gives the most predictable performance).
|
// General expectation that osu! starts in fullscreen by default (also gives the most predictable performance).
|
||||||
// However, macOS is bound to have issues when using exclusive fullscreen as it takes full control away from OS, therefore borderless is default there.
|
// However, macOS is bound to have issues when using exclusive fullscreen as it takes full control away from OS, therefore borderless is default there.
|
||||||
{ FrameworkSetting.WindowMode, RuntimeInfo.IsApple ? WindowMode.Borderless : WindowMode.Fullscreen }
|
{ FrameworkSetting.WindowMode, RuntimeInfo.OS == RuntimeInfo.Platform.macOS ? WindowMode.Borderless : WindowMode.Fullscreen }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue