NotchSolution icon indicating copy to clipboard operation
NotchSolution copied to clipboard

Notch overlay should not show up while in non-UI Prefab Stage

Open 5argon opened this issue 6 years ago • 0 comments

Screenshot 2019-06-21 21 19 27

The root is not a RectTransform so this is not a prefab stage for designing UI, yet the overlay didn't check for this. It should find some way to check if we are using the prefab design scene for UI or not. I haven't check if it is possible from the API, or we must observe the root and make hacky assumption?

(So ideally, I want to know which of the following scenes is being used. I think I saw a scene property somewhere while making the prefab mode support around the PrefabStage experimental API. But even if we know the scene, how to compare with this settings?)

Screenshot 2019-06-21 21 22 07

5argon avatar Jun 21 '19 14:06 5argon