Update MapPanel.cs

This commit is contained in:
ClemensFischer 2023-01-14 01:06:46 +01:00
parent 98e77e054e
commit be8c1d2c4b

View file

@ -254,7 +254,7 @@ namespace MapControl
return new ViewRect(x, y, width, height, parentMap.ViewTransform.Rotation);
}
protected bool IsOutsideViewport(Point point)
private bool IsOutsideViewport(Point point)
{
return point.X < 0d || point.X > parentMap.RenderSize.Width
|| point.Y < 0d || point.Y > parentMap.RenderSize.Height;