You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Shape rotation ccw not implemented #1914
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.
Activity
fix(shapes): support counter-clockwise rotate action when minAngle > …
fix(shapes): support counter-clockwise rotate action when minAngle > …