-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Bug]: Rotating, then scaling produces poor results. #518
Comments
This is the function that needs to be fixed: https://github.com/LinwoodDev/Butterfly/blob/develop/app/lib/renderers/renderer.dart#L174 The public |
#742 |
I tried everything but didn't get it working. I will post this here if anyone find a solution: We have given a rotation of the rectangle, the real rectangle (green with x, y, width and height), the expanded rectangle (red with x, y, width and height) and a scale that needs to be applied. The output should be the offset position and the updated scaleX and scaleY values. Feel free to change the given line: https://github.com/LinwoodDev/Butterfly/blob/f18fe8f641ad19a988ad4e95c39d1e34244c31f4/app/lib/renderers/renderer.dart#L229-L255and make a pull request. |
okay, after thinking a bit, i think i've fixed it, try it out at https://preview.butterfly.linwood.dev and comment here if you find any things i've missed |
or not... I will try it again... |
What happened?
badselect2.webm
Version
2.0.0-beta.14
Platform
Web
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: