-
-
Notifications
You must be signed in to change notification settings - Fork 502
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
Layers physically move when being transferred to a new folder which has a different transform #861
Comments
Hey @Keavon Is this still on ? I could take it if it's the case |
@lyingpasta go for it! This'll be valuable to solve. |
@Keavon can you give some example of what it's intended for this behavior ? Do we need the transform property of the parent layer to be applied to all it's children or compute a new transform based on the original one and the parent's ? |
@lyingpasta For each layer that's dragged out of a certain folder, it should have a transform applied to it that puts it back into its original transformation as if the user had dragged it back there (and resized/scaled/skewed it). If multiple layers are dragged out of a certain folder, that applies individually to each one of them. |
It seems like it's actually the case, I created 3 layers one of them with a scaling transform when I drag one layer to it, the transform applies to it also, then I drag it back out and it goes back to its original state. Isn't this what we need ? |
It needs to do exactly not that. Any layer rearranged in the layer panel should never change its transform within the canvas. |
This requires some knowledge of linear algebra and transforms, for example by people who have experience with computer graphics or gamedev.
#2177 can be useful reference for how transforms are modified for cross-scope movement.
The text was updated successfully, but these errors were encountered: