mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-06 06:55:04 +00:00
Prepare version 8.2.
This commit is contained in:
parent
29ffdc4420
commit
641b4354a0
23 changed files with 33 additions and 32 deletions
|
|
@ -32,12 +32,13 @@ namespace MapControl
|
|||
|
||||
private static void DataPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
// Check if Data is actually a new Geometry.
|
||||
var data = (Geometry)e.NewValue;
|
||||
|
||||
// Check if data is actually a new Geometry.
|
||||
//
|
||||
if (e.NewValue != null && !ReferenceEquals(e.NewValue, e.OldValue))
|
||||
if (data != null && !ReferenceEquals(data, e.OldValue))
|
||||
{
|
||||
var path = (MapPath)obj;
|
||||
var data = (Geometry)e.NewValue;
|
||||
|
||||
if (data.IsFrozen)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue