moveable
moveable copied to clipboard
Can I set the origin to be the corner of the image and not the center?
Environments
- Framework name: React
- Framework version: 16.13.1
- Moveable Component version: React moveable 0.38.4
Description
I would like the origin of the image be in the left top corner of the image and not in the middle, is it possible?
Thank you by the way, really beautiful library you got here.
@ViktorTheFirst
The location of the origin is relative to the transform-origin.
Default is 50% 50%, set to 0 0.
transform-origin: 0 0;