vue-free-transform icon indicating copy to clipboard operation
vue-free-transform copied to clipboard

restricting transformable area

Open padoauk opened this issue 7 years ago • 1 comments

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.

padoauk avatar Nov 17 '18 16:11 padoauk

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

devonik avatar Jan 20 '20 18:01 devonik