In editor mode move shapes to previous position after get output

This commit is contained in:
Jaex 2016-09-18 23:21:30 +03:00
parent a7b93af654
commit 844677b6b5

View file

@ -1096,7 +1096,14 @@ public Image GetResultImage()
shape.Move(-ImageRectangle.X, -ImageRectangle.Y);
}
return GetOutputImage();
Image img = GetOutputImage();
foreach (BaseShape shape in ShapeManager.Shapes)
{
shape.Move(ImageRectangle.X, ImageRectangle.Y);
}
return img;
}
else if (Result == RegionResult.Region)
{