Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel anchors should ignore scale #107

Open
JoeLudwig opened this issue May 17, 2020 · 0 comments
Open

Panel anchors should ignore scale #107

JoeLudwig opened this issue May 17, 2020 · 0 comments

Comments

@JoeLudwig
Copy link
Collaborator

Right now panel anchors are a simple transform node that assumes its parent will be 1m x 1m big and positions its children accordingly. Unfortunately that means panel children need to be under the transform for the model, so they inherit the scale transform that's above that model. This is really annoying to use because you have to know the scale of the parent panel just so you can back it out before applying whatever scale you actually want on your node, if any.

Instead AvPanelAnchor should figure out what its parent panel is and use that panel's width to compute an unscaled transform for itself. Ideally that would happen client side without adding a new node type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant