-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add support for rotation. #19
Comments
@damywise The difficult part about rotation is that it also needs to work with constraints and clamping, not the rotation itself. With that in mind, I would love to look at your working solution if you have the code somewhere, maybe it can inspire us towards a better solution. Feel free to make a draft PR if you're really confident, then we can collaborate on it together! |
It's been a while since I've worked on it and some things are broken but here you go. |
@damywise This project is very interesting. I would love it if you could try replicating this somewhat in box transform. As a minimum implementation, we can try visual-rotation only where the rotation does not affect the bounding box. Do you want to give it a shot? |
Thanks!
I can't guarantee that I can make time for it, but we'll see. Also, I just read through my code and remembered that I actually don't use a rectangle lol. |
Hi, I required this package for placing an image on top of image (and dragging, resizing etc.), however, the no rotation thing drastically limits this package's real life use. Please try to overcome this limitation. Hoping to see this feature soon. |
Hey @SpirikleOfficial, it's unfortunately very difficult as no other software we know can do rotation with clamping and constraints. If you know someone that may help us out, let us know. Until then, we cannot give you a timeline on this. |
That would be great if we could have at least this implementation in the package. Thanks. |
Is your feature request related to a problem? Please describe.
The current version of the hyper-designed/box_transform library does not support rotation, which limits its usefulness for certain UI design tasks, though it may be arbitrary.
Describe the solution you'd like
I would like to see support for rotation added to this package. This would allow for more advanced resizing and manipulation of UI elements.
Describe alternatives you've considered
Made my own hacky and messy but worky solution
Additional context
What I hope everyone can do with only this package:
Screen.Recording.2023-10-08.at.10.57.50-00.00.00.000-00.00.40.183.mp4
The text was updated successfully, but these errors were encountered: