moveable
moveable copied to clipboard
Move the target to the clipped section, or hide the whole target
Environments
- Moveable Component version: 0.29
- Testable Address(optional): https://daybrush.com/moveable/
Description
This is more of a question than a bug. What I'm looking for is after I clip an image, to shrink the target bounds to the clipped area, so that the rotator is positioned on it rather than in relation to the whole of the image.
For example, in the site for this package, when you clip an target, you get the green square around the clip and the blue square around the target, and the blue circle used to rotate is centered at the top of the blue square. I'd like to have the blue square disappear and have the rotator moved to relation of the green square. Is that currently possible?
@PiousVenom
Since moveable is checked based on offsetWidth and offsetHeight, it has nothing to do with the green area (clip). That's why I won't be able to solve it right now.