Update MapBase.MapLayer.cs

This commit is contained in:
ClemensFischer 2025-08-12 23:05:29 +02:00
parent ecd91faef2
commit 5cb0880141

View file

@ -175,7 +175,7 @@ namespace MapControl
{
Children.Insert(index, mapLayer);
if (index == 0)
if (index++ == 0)
{
MapLayer = mapLayer;
}