Fixed SpriteSheet display in SpriteMapEditor, no longer offset incorrectly.
This commit is contained in:
@@ -14,6 +14,7 @@ namespace SpriteMapEditor
|
||||
protected override void OnPaint(PaintEventArgs paintEventArgs)
|
||||
{
|
||||
paintEventArgs.Graphics.InterpolationMode = InterpolationMode;
|
||||
paintEventArgs.Graphics.PixelOffsetMode = PixelOffsetMode.Half;
|
||||
base.OnPaint(paintEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user