Skip to content
New issue

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

Question: Is it possible do define specific rotation for bounding box of a group? #929

Open
Unruly-Coder opened this issue May 25, 2023 · 2 comments
Labels
complete Feature question Further information is requested
Milestone

Comments

@Unruly-Coder
Copy link

Currently, when all elements have the same rotation, the bounding box of group of those elements also inherits that rotation. However, if any of the elements have different rotations, the bounding box defaults to a rotation of 0 degrees. Is it possible to enforce a specific rotation for the bounding box, regardless of the individual element rotations?

@daybrush daybrush added the question Further information is requested label May 31, 2023
@daybrush
Copy link
Owner

@Crazy-Ivan

You are right.

Set to 0 if the rotation angles of the group elements are different.

Try using defaultGroupRotate(default: 0) value.

In the next update, i will add a prop that sets the rotation forcefully.

@daybrush
Copy link
Owner

daybrush commented Jun 4, 2023

@Crazy-Ivan

  • croact-moveable 0.4.0
  • @moveable/helper 0.1.2
  • lit-moveable 0.25.0
  • moveable 0.48.0
  • preact-moveable 0.50.0
  • react-moveable 0.51.0
  • svelte-moveable 0.40.0
  • vue-moveable 2.0.0-beta.76
  • vue3-moveable 0.23.0
  • ngx-moveable 0.45.0

moveable's new version is released.

Set useDefaultGroupRoate to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complete Feature question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants