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 68aa576 commit fe1e2ebCopy full SHA for fe1e2eb
packages/box_transform/lib/src/transformer.dart
@@ -374,8 +374,12 @@ class BoxTransformer {
374
newRect = Box.fromHandle(
375
handle.anchor(initialRect),
376
handle,
377
- constraints.minWidth,
378
- constraints.minHeight,
+ !handle.isSide || handle.isHorizontal
+ ? constraints.minWidth
379
+ : constrainedWidth,
380
+ !handle.isSide || handle.isVertical
381
+ ? constraints.minHeight
382
+ : constrainedHeight,
383
);
384
}
385
0 commit comments