Fix back-to-front conditional

This commit is contained in:
Salman Ahmed 2022-06-03 10:51:20 +03:00
parent 7b28451e3d
commit cd999cf7ac

View File

@ -225,15 +225,19 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
private void updateScreenModeWarning() private void updateScreenModeWarning()
{ {
if (windowModeDropdown.Current.Value != WindowMode.Fullscreen) if (RuntimeInfo.OS == RuntimeInfo.Platform.macOS)
{ {
windowModeDropdown.SetNoticeText(GraphicsSettingsStrings.NotFullscreenNote, true); if (windowModeDropdown.Current.Value == WindowMode.Fullscreen)
windowModeDropdown.SetNoticeText(LayoutSettingsStrings.FullscreenMacOSNote, true);
else
windowModeDropdown.ClearNoticeText();
return; return;
} }
if (RuntimeInfo.OS == RuntimeInfo.Platform.macOS) if (windowModeDropdown.Current.Value != WindowMode.Fullscreen)
{ {
windowModeDropdown.SetNoticeText(LayoutSettingsStrings.FullscreenMacOSNote, true); windowModeDropdown.SetNoticeText(GraphicsSettingsStrings.NotFullscreenNote, true);
return; return;
} }