diff --git a/HaRepacker/GUI/Panels/ImageAnimationPreviewWindow.cs b/HaRepacker/GUI/Panels/ImageAnimationPreviewWindow.cs index f299c038..89bb0fdd 100644 --- a/HaRepacker/GUI/Panels/ImageAnimationPreviewWindow.cs +++ b/HaRepacker/GUI/Panels/ImageAnimationPreviewWindow.cs @@ -40,8 +40,8 @@ public class ImageAnimationPreviewWindow : Microsoft.Xna.Framework.Game private SpriteFont font; // - public int mapShiftX = 0; - public int mapShiftY = 0; + public int mapShiftX = -600; + public int mapShiftY = -400; /// /// Constructor @@ -137,7 +137,7 @@ protected override void LoadContent() // Add to the list of images to render System.Drawing.PointF origin = canvasProperty.GetCanvasOriginPosition(); - DXObject dxObject = new DXObject((int) origin.X, (int)origin.Y, image.ToTexture2D(graphicsDeviceMgr.GraphicsDevice), (int) delay); + DXObject dxObject = new DXObject((int) -origin.X, (int) -origin.Y, image.ToTexture2D(graphicsDeviceMgr.GraphicsDevice), (int) delay); animationFrames.Add(dxObject); }