mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Avalonia InvalidateGeometry on new Path Figures
This commit is contained in:
parent
ddc11bcc8a
commit
e49ca0b79e
5 changed files with 19 additions and 8 deletions
|
|
@ -57,10 +57,7 @@ namespace MapControl
|
|||
|
||||
protected override void UpdateData()
|
||||
{
|
||||
((PathGeometry)Data).Figures = GetPathFigures(Locations, true);
|
||||
#if AVALONIA
|
||||
InvalidateGeometry();
|
||||
#endif
|
||||
SetPathFigures(GetPathFigures(Locations, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,10 +57,7 @@ namespace MapControl
|
|||
|
||||
protected override void UpdateData()
|
||||
{
|
||||
((PathGeometry)Data).Figures = GetPathFigures(Locations, false);
|
||||
#if AVALONIA
|
||||
InvalidateGeometry();
|
||||
#endif
|
||||
SetPathFigures(GetPathFigures(Locations, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue