Add Game.Zoom for remaining engine stuff.

This commit is contained in:
Paul Chote
2013-09-27 18:14:44 +12:00
parent 3ae75362bb
commit fe8c80aca6
5 changed files with 11 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
pixelDoubleCheckbox.OnClick = () =>
{
graphicsSettings.PixelDouble ^= true;
Game.viewport.Zoom = graphicsSettings.PixelDouble ? 2 : 1;
Game.Zoom = graphicsSettings.PixelDouble ? 2 : 1;
};
var showShellmapCheckbox = generalPane.Get<CheckboxWidget>("SHOW_SHELLMAP");