Use Map.Bounds instead.

This commit is contained in:
Paul Chote
2010-11-24 10:55:39 +13:00
parent f11bcd27cc
commit de8603832f
14 changed files with 64 additions and 65 deletions

View File

@@ -505,8 +505,8 @@ namespace OpenRA.Editor
}
e.Graphics.DrawRectangle(CordonPen,
Map.TopLeft.X * TileSet.TileSize * Zoom + Offset.X,
Map.TopLeft.Y * TileSet.TileSize * Zoom + Offset.Y,
Map.Bounds.Left * TileSet.TileSize * Zoom + Offset.X,
Map.Bounds.Top * TileSet.TileSize * Zoom + Offset.Y,
Map.Width * TileSet.TileSize * Zoom,
Map.Height * TileSet.TileSize * Zoom);