From c75f1407f934f313439b22ade00108c0382f71c8 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 27 Feb 2018 07:27:36 -0600 Subject: [PATCH] Move the dragsize out so we can use it elsewhere. --- EduNetworkBuilder/NetShape.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EduNetworkBuilder/NetShape.cs b/EduNetworkBuilder/NetShape.cs index cf2a158..de23ccc 100644 --- a/EduNetworkBuilder/NetShape.cs +++ b/EduNetworkBuilder/NetShape.cs @@ -17,6 +17,7 @@ namespace EduNetworkBuilder public Rectangle InArea; public Color LineColor = Color.Empty; public Color FillColor = Color.Empty; + int DragSize = 15; public NetShape(NetShapeType What, Rectangle Where, Color color) { @@ -55,7 +56,7 @@ namespace EduNetworkBuilder } if(InShapeEditMode) { - int sz = 15; + int sz = DragSize; Color edgeColor = Color.Black; if (FillColor == Color.Black) edgeColor = Color.White; coloredBrush = new SolidBrush(edgeColor);