fix error CS0219:
The variable `zoom' is assigned but its value is never used
This commit is contained in:
@@ -106,7 +106,6 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
|
||||
var cellScreenPosition = worldRenderer.ScreenPxPosition(location);
|
||||
var cellScreenPixel = worldRenderer.Viewport.WorldToViewPx(cellScreenPosition);
|
||||
var zoom = worldRenderer.Viewport.Zoom;
|
||||
|
||||
preview.Bounds.X = cellScreenPixel.X;
|
||||
preview.Bounds.Y = cellScreenPixel.Y;
|
||||
|
||||
Reference in New Issue
Block a user