Skip to content

restricting transformable area #6

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

Open
padoauk opened this issue Nov 17, 2018 · 1 comment
Open

restricting transformable area #6

padoauk opened this issue Nov 17, 2018 · 1 comment

Comments

@padoauk
Copy link

padoauk commented Nov 17, 2018

Hi.

Vue-free-transform is great. Translatable area restriction capability make it better, I guess. In many cases, area restriction is useful. Without it, translation is so free that object can be released in a area where horizontal position is negative and selection is impossible.

I found that the restriction is possible by checking payload in update(). But it looks much better to have certain component's property for restriction.

@devonik
Copy link

devonik commented Jan 20, 2020

Yes that would be nice. I also added a conditional to the update() method but it would be nice to prevent this. Also maybe better peformance

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

2 participants