-
-
Notifications
You must be signed in to change notification settings - Fork 225
CoordPlane.Local #3410
Copy link
Copy link
Open
Labels
staleThis issue or PR has not had any activity recentlyThis issue or PR has not had any activity recently
Metadata
Metadata
Assignees
Labels
staleThis issue or PR has not had any activity recentlyThis issue or PR has not had any activity recently
Context
Discord discussion https://discord.com/channels/1195771303215513671/1195779663386136706/1361366213774802974
It appears children of ScreenElement do not inherit their parent's local space. They get assigned a CoordPlane of Screen which then I believe causes this to reset the position back to the contentArea
Proposal
The only options for CoordPlane are
WorldandScreen, whereScreenapparently doesn't translate from the parent if the entity is a child. I think it would be more clear to have an additionalCoordPlane.Localwhich is the default for any child, and would act appropriately based on whatever CoordPlane the parent has.