diff options
-rw-r--r-- | SpriteEd/NSSpriteEdit.cs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/SpriteEd/NSSpriteEdit.cs b/SpriteEd/NSSpriteEdit.cs index 0dbd806..f6067ee 100644 --- a/SpriteEd/NSSpriteEdit.cs +++ b/SpriteEd/NSSpriteEdit.cs @@ -712,43 +712,36 @@ namespace SpriteEd case DrawingMode.Line: SaveUndo(); DrawSpriteLine(null); - NeedsDisplay = true; break; case DrawingMode.Rect: SaveUndo(); DrawSpriteRect(null, false); - NeedsDisplay = true; break; case DrawingMode.FilledRect: SaveUndo(); DrawSpriteRect(null, true); - NeedsDisplay = true; break; case DrawingMode.Circle: SaveUndo(); DrawSpriteEllipse(null, true, false); - NeedsDisplay = true; break; case DrawingMode.FilledCircle: SaveUndo(); DrawSpriteEllipse(null, true, true); - NeedsDisplay = true; break; case DrawingMode.Ellipse: SaveUndo(); DrawSpriteEllipse(null, false, false); - NeedsDisplay = true; break; case DrawingMode.FilledEllipse: SaveUndo(); DrawSpriteEllipse(null, false, true); - NeedsDisplay = true; break; default: @@ -760,6 +753,7 @@ namespace SpriteEd m_sy = uint.MaxValue; m_ex = uint.MaxValue; m_ey = uint.MaxValue; + NeedsDisplay = true; } } } |