From 81bc4f01a24cb84d045a9f0b8c1d67bc95f3ccad Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Mon, 10 Nov 2025 17:49:28 +0100 Subject: [PATCH] Update MapPanel.cs --- MapControl/Shared/MapPanel.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MapControl/Shared/MapPanel.cs b/MapControl/Shared/MapPanel.cs index aa110046..ac7a26de 100644 --- a/MapControl/Shared/MapPanel.cs +++ b/MapControl/Shared/MapPanel.cs @@ -47,11 +47,11 @@ namespace MapControl { mapElement.ParentMap = newValue; } -#if UWP || WINUI - }); -#else - }, true); // inherits + } +#if WPF || AVALONIA + , true // inherits, not available in WinUI/UWP #endif + ); public MapPanel() {