Update PushpinBorder.Avalonia.cs

This commit is contained in:
ClemensFischer 2025-06-10 09:13:20 +02:00
parent b0c17c2212
commit 8e8d414a46

View file

@ -22,7 +22,7 @@ namespace MapControl
static PushpinBorder()
{
AffectsMeasure<PushpinBorder>(ArrowSizeProperty, BorderWidthProperty, CornerRadiusProperty);
AffectsRender<PushpinBorder>(ArrowSizeProperty, BorderWidthProperty, CornerRadiusProperty, BackgroundProperty, BorderBrushProperty);
AffectsRender<PushpinBorder>(BackgroundProperty, BorderBrushProperty);
}
public double ActualWidth => Bounds.Width;