We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1be5f commit 1617fc6Copy full SHA for 1617fc6
packages/box_transform/lib/src/resizers/freeform_resizing.dart
@@ -155,7 +155,7 @@ final class FreeformResizer extends Resizer {
155
required Box initialRect,
156
required double rotation,
157
}) {
158
- if (rotation == 0) return initialRect;
+ if (rotation == 0) return newRect;
159
160
final Vector2 positionDelta = newRect.topLeft - initialRect.topLeft;
161
final Vector2 newPos = BoxTransformer.calculateUnrotatedPos(
0 commit comments