Skip to content

Commit

Permalink
fix: 3535 - padding added to crop tool (#3551)
Browse files Browse the repository at this point in the history
Impacted file:
* `new_crop_page.dart`: added a `Padding`
  • Loading branch information
monsieurtanuki authored Jan 8, 2023
1 parent 3291201 commit 3d142f4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/smooth_app/lib/tmp_crop_image/new_crop_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,13 @@ class _CropPageState extends State<CropPage> {
],
),
Expanded(
child: RotatedCropImage(
controller: _controller,
image: _image,
minimumImageSize: 1,
child: Padding(
padding: const EdgeInsets.all(MINIMUM_TOUCH_SIZE / 2),
child: RotatedCropImage(
controller: _controller,
image: _image,
minimumImageSize: 1,
),
),
),
Wrap(
Expand Down

0 comments on commit 3d142f4

Please sign in to comment.