nhn / toast-ui.vue-image-editor

Toast UI Image Editor for Vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent user to move and resize objects

Allakazan opened this issue · comments

Version

@toast-ui/vue-image-editor@1.0.2
tui-image-editor@3.5.2

Development Environment

Mozilla/5.0 (Linux; Android 8.1.0; Redmi 5 Plus Build/OPM1.171019.019; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/73.0.3683.90 Mobile Safari/537.36

Current Behavior

The user can move and scale objects on screen

Expected Behavior

I don't want allow the user move and scale objects

I'm making and app with vue and cordova for the user paint some images, and that plugin worked as well, but after draw on screen, the user can scale and move the paint objecs, i want to prevent that option
I tried to use the objectMoved and objectScaled events and put a 'return false' in the end but didn't worked.

Thanks for the support :)