Fix crop moving shapes incorrectly

This commit is contained in:
L1Q 2017-10-25 09:01:59 +03:00
parent fefca5eef2
commit e802b05043

View file

@ -1318,8 +1318,8 @@ public void CropArea(Rectangle rect)
if (img != null)
{
MoveAll(-rect.X, -rect.Y);
form.InitBackground(img);
MoveAll(form.ImageRectangle.X - rect.X, form.ImageRectangle.Y - rect.Y);
isAnnotated = true;
}
}