Skip to content

Commit 6eee40a

Browse files
committed
Removed extra call to TryUpdateImageLayout
1 parent 5dc8958 commit 6eee40a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Microsoft.Toolkit.Uwp.UI.Controls.Media/ImageCropper/ImageCropper.Events.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,8 @@ private void ImageCanvas_SizeChanged(object sender, SizeChangedEventArgs e)
191191

192192
if (TryUpdateAspectRatio())
193193
{
194-
if (TryUpdateImageLayout())
195-
{
196-
UpdateSelectionThumbs();
197-
UpdateMaskArea();
198-
}
194+
UpdateSelectionThumbs();
195+
UpdateMaskArea();
199196
}
200197
}
201198
}

0 commit comments

Comments
 (0)