Merge pull request #30636 from peppy/remove-macos-recommendation

Remove macOS "borderless" recommendation
This commit is contained in:
Salman Alshamrani 2024-11-22 23:54:57 -05:00 committed by GitHub
commit 63c2ddb99e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -268,7 +268,8 @@ private void updateDisplaySettingsVisibility()
private void updateScreenModeWarning()
{
if (RuntimeInfo.OS == RuntimeInfo.Platform.macOS)
// Can be removed once we stop supporting SDL2.
if (RuntimeInfo.OS == RuntimeInfo.Platform.macOS && !FrameworkEnvironment.UseSDL3)
{
if (windowModeDropdown.Current.Value == WindowMode.Fullscreen)
windowModeDropdown.SetNoticeText(LayoutSettingsStrings.FullscreenMacOSNote, true);