Set EdgeMode/BorderMode only in MapTileLayerBase

This commit is contained in:
ClemensFischer 2025-01-04 14:25:06 +01:00
parent f029291413
commit bcdb22a048
3 changed files with 8 additions and 12 deletions

View file

@ -4,16 +4,12 @@
#if UWP
using Windows.UI;
using Windows.UI.Composition;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Hosting;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animation;
#else
using Microsoft.UI;
using Microsoft.UI.Composition;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Hosting;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Media.Animation;
#endif
@ -89,8 +85,6 @@ namespace MapControl
FlowDirection = FlowDirection.LeftToRight;
SizeChanged += OnSizeChanged;
ElementCompositionPreview.GetElementVisual(this).BorderMode = CompositionBorderMode.Hard;
}
/// <summary>