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

@@ -132,7 +132,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
pixelDoubleCheckbox.OnClick = () =>
{
gs.PixelDouble ^= true;
Game.viewport.Zoom = gs.PixelDouble ? 2 : 1;
Game.Zoom = gs.PixelDouble ? 2 : 1;
};
var capFrameRateCheckbox = display.Get<CheckboxWidget>("CAPFRAMERATE_CHECKBOX");