From b942cb9f5b2d21e12003398d7cc4db00970a6e77 Mon Sep 17 00:00:00 2001 From: MattN-L Date: Fri, 15 Mar 2024 19:19:17 -0400 Subject: [PATCH] Fixed bizarre drawing issue with MapIcons atlas --- PCK-Studio/Forms/Editor/TextureAtlasEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCK-Studio/Forms/Editor/TextureAtlasEditor.cs b/PCK-Studio/Forms/Editor/TextureAtlasEditor.cs index 4f8c2e7b..d92e21cd 100644 --- a/PCK-Studio/Forms/Editor/TextureAtlasEditor.cs +++ b/PCK-Studio/Forms/Editor/TextureAtlasEditor.cs @@ -188,7 +188,7 @@ namespace PckStudio.Forms.Editor { g.ApplyConfig(graphicsConfig); g.Clear(Color.Transparent); - g.DrawImage(_workingTexture, new Point(0, 0)); + g.DrawImage(_workingTexture, 0, 0, _workingTexture.Width, _workingTexture.Height); SolidBrush brush = new SolidBrush(Color.FromArgb(127, 255, 255, 255));