mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Add warning note when running fullscreen on macOS
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using osu.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Configuration;
|
||||
@ -230,6 +231,12 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
return;
|
||||
}
|
||||
|
||||
if (RuntimeInfo.OS == RuntimeInfo.Platform.macOS)
|
||||
{
|
||||
windowModeDropdown.SetNoticeText(LayoutSettingsStrings.FullscreenMacOSNote, true);
|
||||
return;
|
||||
}
|
||||
|
||||
if (host.Window is WindowsWindow)
|
||||
{
|
||||
switch (fullscreenCapability.Value)
|
||||
|
Reference in New Issue
Block a user