Update MapPanel.Avalonia.cs

This commit is contained in:
ClemensFischer 2024-05-31 22:45:05 +02:00
parent 437ceae186
commit 807e0e1277

View file

@ -2,6 +2,8 @@
// Copyright © 2024 Clemens Fischer
// Licensed under the Microsoft Public License (Ms-PL)
using System.Collections.Generic;
namespace MapControl
{
public partial class MapPanel
@ -39,7 +41,7 @@ namespace MapControl
element.RenderTransformOrigin = new RelativePoint(originX, originY, RelativeUnit.Relative);
}
protected Controls ChildElements => Children;
protected IEnumerable<Control> ChildElements => Children;
private static void SetVisible(Control element, bool visible)
{