Move the dragsize out so we can use it elsewhere.
This commit is contained in:
parent
cb3a29b4ea
commit
c75f1407f9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user