mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Fix crop moving shapes incorrectly
This commit is contained in:
parent
fefca5eef2
commit
e802b05043
1 changed files with 1 additions and 1 deletions
|
@ -1318,8 +1318,8 @@ public void CropArea(Rectangle rect)
|
||||||
|
|
||||||
if (img != null)
|
if (img != null)
|
||||||
{
|
{
|
||||||
|
MoveAll(-rect.X, -rect.Y);
|
||||||
form.InitBackground(img);
|
form.InitBackground(img);
|
||||||
MoveAll(form.ImageRectangle.X - rect.X, form.ImageRectangle.Y - rect.Y);
|
|
||||||
isAnnotated = true;
|
isAnnotated = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue