mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Fixed ParentMenuItems for WinUI
This commit is contained in:
parent
9242f26ea2
commit
3d4066af55
2 changed files with 7 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ namespace MapControl.UiTools
|
|||
{
|
||||
var index = 1;
|
||||
|
||||
foreach (var itemLayer in ParentMenuItems?
|
||||
foreach (var itemLayer in ParentMenuItems
|
||||
.OfType<MapOverlayMenuItem>()
|
||||
.Select(item => item.MapLayer)
|
||||
.Where(itemLayer => itemLayer != null))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue