Reverted new() expressions

This commit is contained in:
ClemensFischer 2025-12-05 14:44:33 +01:00
parent 264f751d4e
commit 107b8e0f90
8 changed files with 52 additions and 23 deletions

View file

@ -38,7 +38,7 @@ namespace MapControl
public virtual double Width => East - West;
public virtual double Height => North - South;
public virtual Location Center => new((South + North) / 2d, (West + East) / 2d);
public virtual Location Center => new Location((South + North) / 2d, (West + East) / 2d);
public override string ToString()
{