Closed ladifire closed 4 years ago
@ladifire
What is the component version? This problem has been solved for a long time?
This bug is in react-moveable package, please see this demo https://codesandbox.io/s/react-moveable-demo-66w9h
@ladifire
This problem will be solved by updating react-moveable.
Yes! thankyou!
@daybrush In ngx-movable (version 0.9.3) also the direction cursor (cursor pointer) is not updating.
@iprasadg
What does it mean that the direction cursor doesn't update? is it custom CSS? Can you give me a gif?
@daybrush Without rotate cursor styles are correct i.e showing according to direction. But, after rotate cursor style should get updated. It is showing previous style of cursor. See the following gif
@iprasadg
Oh I didn't think that part. This may take a while, but I'll fix it soon.
This is so difficult to fix, because it's cursor, not part of component. I find out that Figma (https://www.figma.com/) generate cursor for every rotate then assign each cursor for each rotation position.
@ladifire
I'm thinking about it too, but probably an svg cursor. I'm thinking of changing the angle every 10 degrees.
@ladifire @ladifire There may be browser support issues, so the default is likely to be 45 degrees.
Your last commit not working with edge={true}
@ladifire @iprasadg
A new version has been released.
moveable
0.13.4react-moveable
0.16.6preact-moveable
0.15.5ngx-moveable
0.9.4svelte-moveable
0.4.4Update to the new version. Thank you :)
Thanks @daybrush, it's sunday but you've worked hard!
@daybrush Updated to the new version. Thanks for resolving issue. 👍
Environments
Description
Please this gif. When using rectangle shape for control points. The rotation set for them is wrong.
Please fix this in future version.