saving works

This commit is contained in:
Chris Forbes
2010-05-10 20:04:04 +12:00
parent c816e62a22
commit c14a2eab88
4 changed files with 113 additions and 51 deletions

View File

@@ -81,6 +81,8 @@ namespace OpenRA.Editor
DrawWithBrush();
if (e.Button == MouseButtons.Left && Actor != null)
DrawWithActor();
if (e.Button == MouseButtons.Left && Resource != null)
DrawWithResource();
Invalidate();
}
@@ -183,6 +185,8 @@ namespace OpenRA.Editor
DrawWithBrush();
if (e.Button == MouseButtons.Left && Actor != null)
DrawWithActor();
if (e.Button == MouseButtons.Left && Resource != null)
DrawWithResource();
Invalidate();
}