Skip to content

[FEATURE] Shape rotation ccw not implemented #1914

Open

Description

@d0minOo

Describe the feature
Currently the rotateShape method only works reliably when minAngle is less than or equal to maxAngle. This effectively limits rotations to one direction (clockwise). If a user sets minAngle > maxAngle to achieve counter-clockwise rotation, or uses negative angle values, the logic does not behave correctly because the clamping assumes minAngle ≤ maxAngle and does not handle negative angles properly.

Describe the solution you'd like
Update the rotateShape implementation so that it fully supports both clockwise and counter-clockwise rotations, as well as negative angle values. The clamping logic should be adapted to work regardless of the order or sign of the configured angles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions