From be8c1d2c4b89802b7d5df6e578e02cecfe230623 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Sat, 14 Jan 2023 01:06:46 +0100 Subject: [PATCH] Update MapPanel.cs --- MapControl/Shared/MapPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/Shared/MapPanel.cs b/MapControl/Shared/MapPanel.cs index a0b8fb78..3858f2b3 100644 --- a/MapControl/Shared/MapPanel.cs +++ b/MapControl/Shared/MapPanel.cs @@ -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;