Hide selection decorations when spectators zoom too far out.

This commit is contained in:
Paul Chote
2020-05-02 15:08:28 +01:00
committed by atlimit8
parent 0ae58ff0ea
commit f03841c4e4
2 changed files with 10 additions and 7 deletions

View File

@@ -89,6 +89,8 @@ namespace OpenRA.Graphics
}
}
public float MinZoom { get { return minZoom; } }
public void AdjustZoom(float dz)
{
// Exponential ensures that equal positive and negative steps have the same effect