We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
how can set transformOrigin on RotateStart? already set as top,left
e.target.style.transformOrigin="center" not work beacuse The position of the element changed
The text was updated successfully, but these errors were encountered:
@amyounesi
okay. I'll this feature.
Sorry, something went wrong.
feat: add setFixedDirection on rotateStart #670
093d0b1
lit-moveable
moveable
preact-moveable
react-compat-moveable
react-moveable
svelte-moveable
vue-moveable
vue3-moveable
ngx-moveable
It seems impossible to change the transformOrigin of the style.
But use setFixedDirection of resizeStart event.
If you use e.setFixedDirection([0, 0]) even if transformOrigin is top left you can get the same effect as transformOrigin(50% 50%) .
e.setFixedDirection([0, 0])
No branches or pull requests
Environments
Description
how can set transformOrigin on RotateStart?
already set as top,left
e.target.style.transformOrigin="center" not work beacuse The position of the element changed
The text was updated successfully, but these errors were encountered: