From 8594996b871ed79b3152d5aaeaa6bd84aa76c25a Mon Sep 17 00:00:00 2001 From: Brandon Evans Date: Sun, 27 Dec 2020 16:49:08 -0700 Subject: [PATCH] Add feedback IDs in comments --- Xcodes/XcodesApp.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Xcodes/XcodesApp.swift b/Xcodes/XcodesApp.swift index 18cfdea..ea66958 100644 --- a/Xcodes/XcodesApp.swift +++ b/Xcodes/XcodesApp.swift @@ -14,6 +14,7 @@ struct XcodesApp: App { // This is intentionally used on a View, and not on a WindowGroup, // so that it's triggered when an individual window's phase changes instead of all window phases. // When used on a View it's also invoked on launch, which doesn't occur with a WindowGroup. + // FB8954581 ScenePhase read from App doesn't return a value on launch .onChange(of: scenePhase) { newScenePhase in if case .active = newScenePhase { appState.updateIfNeeded() @@ -69,6 +70,7 @@ class AppDelegate: NSObject, NSApplicationDelegate { /// WindowGroup lets the user open more than one window right now, which is a little strange for an About window. /// (It's also weird that the main Xcode list window can be opened more than once, there should only be one.) /// To work around this, an AppDelegate holds onto a single instance of an NSWindow that is shown here. + /// FB8954588 Scene / WindowGroup is missing API to limit the number of windows that can be created func showAboutWindow() { aboutWindow.center() aboutWindow.makeKeyAndOrderFront(nil)