Update MapPanel.cs

This commit is contained in:
ClemensFischer 2024-08-28 23:33:19 +02:00
parent 7b45efd33e
commit ae1baeb944

View file

@ -268,7 +268,10 @@ namespace MapControl
SetVisible(element, !IsOutsideViewport(position));
}
ArrangeElement(element, position.Value);
if (position.HasValue)
{
ArrangeElement(element, position.Value);
}
}
else
{