From 8c97d771ac9b2822ed38cc2f5c40d9a6c2d0e66c Mon Sep 17 00:00:00 2001 From: ClemensF Date: Thu, 31 Oct 2013 21:16:15 +0100 Subject: [PATCH] Replaced Size.Empty with new Size() in MapPanel. --- MapControl/MapPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/MapPanel.cs b/MapControl/MapPanel.cs index 9acd7f53..234aa69c 100644 --- a/MapControl/MapPanel.cs +++ b/MapControl/MapPanel.cs @@ -232,7 +232,7 @@ namespace MapControl if (!panelSize.HasValue) { var panel = frameworkElement.Parent as Panel; - panelSize = panel != null ? panel.RenderSize : Size.Empty; + panelSize = panel != null ? panel.RenderSize : new Size(); } switch (frameworkElement.HorizontalAlignment)