This project is read-only.
2
Vote

Controls.miniMap ActualView_PropertyChanged stackoverflow

description

Controls.miniMap
MiniMap.cs
 
edit code~
                    if(ReferenceView.Center != MiniMapView.Center)
                        ReferenceView.SetLocation(MiniMapView.Center,MiniMapView.ViewportWidth / ZoomModifier);
 
 
   void ActualView_PropertyChanged(object sender, PropertyChangedEventArgs e)
    {
        .......
 
                if (hasFocus && !DisableSynchronisation)
                {
                    if(ReferenceView.Center != MiniMapView.Center)
                        ReferenceView.SetLocation(MiniMapView.Center, MiniMapView.ViewportWidth / ZoomModifier);
                }
                break;
        }
    }

comments