Merge pull request #8200 from RoosterDragon/sheet-fixes

Sheet fixes
This commit is contained in:
Pavel Penev
2015-05-22 18:30:13 +03:00
5 changed files with 37 additions and 60 deletions

View File

@@ -216,7 +216,7 @@ namespace OpenRA.Mods.Common.Widgets
dirtyShroudCells.Clear();
}
radarSheet.CommitData();
radarSheet.CommitBufferedData();
var o = new float2(mapRect.Location.X, mapRect.Location.Y + world.Map.Bounds.Height * previewScale * (1 - radarMinimapHeight) / 2);
var s = new float2(mapRect.Size.Width, mapRect.Size.Height * radarMinimapHeight);