From 6eee40a93066b12be2783267002ea1ab3da49776 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Wed, 14 Sep 2022 20:07:55 -0500 Subject: [PATCH] Removed extra call to TryUpdateImageLayout --- .../ImageCropper/ImageCropper.Events.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Media/ImageCropper/ImageCropper.Events.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Media/ImageCropper/ImageCropper.Events.cs index 64470d26af6..cb0e4b1af39 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Media/ImageCropper/ImageCropper.Events.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Media/ImageCropper/ImageCropper.Events.cs @@ -191,11 +191,8 @@ private void ImageCanvas_SizeChanged(object sender, SizeChangedEventArgs e) if (TryUpdateAspectRatio()) { - if (TryUpdateImageLayout()) - { - UpdateSelectionThumbs(); - UpdateMaskArea(); - } + UpdateSelectionThumbs(); + UpdateMaskArea(); } } }