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

Make scale controls utils more flexibile. Let the dev know which scale factor is going to be #10034

Open
asturur opened this issue Aug 2, 2024 · 0 comments
Assignees

Comments

@asturur
Copy link
Member

asturur commented Aug 2, 2024

Sorry for not answering before. This is a decent usecase, maybe we can see if some extra export is needed or what. I don't have time to look at it today. As a rough estimate the 'scaleObject' function needs to be split in calculateScale and applyScale so that you can use calculateScale in your function to know how much scale will be, and return false if you don't like it.

Originally posted by @asturur in #9919 (reply in thread)

@asturur asturur self-assigned this Aug 2, 2024
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