Environments
- Framework name: reactjs
- Framework version: 17
- Moveable Component version: 0.26.1
- Testable Address(optional):
Description
Hi, I need position and scale to happen around the center origin just like the rotation and not the top left. Is there any possibility to do that?
I tried to fix it by summing or subtracting the width and height of the element divided by 2 and apply that in the transform. It works for the drag part but it gets shaky when I resize.
is there any solution you can think of?
Thank you! Amazing library by the way.
Environments
Description
Hi, I need position and scale to happen around the center origin just like the rotation and not the top left. Is there any possibility to do that?
I tried to fix it by summing or subtracting the width and height of the element divided by 2 and apply that in the transform. It works for the drag part but it gets shaky when I resize.
is there any solution you can think of?
Thank you! Amazing library by the way.