Skip to content

Commit

Permalink
Removed extra call to TryUpdateImageLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Sep 15, 2022
1 parent 5dc8958 commit 6eee40a
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,8 @@ private void ImageCanvas_SizeChanged(object sender, SizeChangedEventArgs e)

if (TryUpdateAspectRatio())
{
if (TryUpdateImageLayout())
{
UpdateSelectionThumbs();
UpdateMaskArea();
}
UpdateSelectionThumbs();
UpdateMaskArea();
}
}
}
Expand Down

0 comments on commit 6eee40a

Please sign in to comment.