mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update MapPanel.Avalonia.cs
This commit is contained in:
parent
437ceae186
commit
807e0e1277
|
|
@ -2,6 +2,8 @@
|
||||||
// Copyright © 2024 Clemens Fischer
|
// Copyright © 2024 Clemens Fischer
|
||||||
// Licensed under the Microsoft Public License (Ms-PL)
|
// Licensed under the Microsoft Public License (Ms-PL)
|
||||||
|
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace MapControl
|
namespace MapControl
|
||||||
{
|
{
|
||||||
public partial class MapPanel
|
public partial class MapPanel
|
||||||
|
|
@ -39,7 +41,7 @@ namespace MapControl
|
||||||
element.RenderTransformOrigin = new RelativePoint(originX, originY, RelativeUnit.Relative);
|
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)
|
private static void SetVisible(Control element, bool visible)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue