-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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]: Align guidless changes aspect ratio on snapping when scaling #10114
Comments
Yes you can look at the code and make a PR. Fixing this feature will be hard and tests are required for changes, sorry if that put some extra weight on the contributor but at this point are kind of necessary |
There are also som extra comments to do here. |
@hamzawain7 |
@hamzawain7 |
Test cases for interactions are hard indeed. Let's review the PR first we can add it there |
CheckList
Version
6.0.2
In What environments are you experiencing the problem?
Chrome
Node Version (if applicable)
None
Link To Reproduction
See attached recording
Steps To Reproduce
@zhe-he I love the new align guidelines, but after I updated production with these new guidelines, users pointed out that it ruins the aspect ratio of the items. It's quite bad if there are a lot of items in the design.
An additional feature would be to expose the snapping value in the aligningLineConfig. Leme know how can i help with it if you are busy. May i look at the code and create a pull request myself?
Expected Behavior
Both scaleX and scaleY should change so that the aspect ratio remains the same.
Actual Behavior
Only scaleX or scaleY changes
Error Message & Stack Trace
No response
The text was updated successfully, but these errors were encountered: