Toggle viewing of drag areas on shapes when shape selector is pressed.
This commit is contained in:
@ -70,6 +70,7 @@ namespace EduNetworkBuilder
|
||||
private List<string> BrokenItems = new List<string>();
|
||||
private List<NetShape> Shapes = new List<NetShape>(); //For storing simple shapes which are drawn on the network
|
||||
public bool IsRandomNetwork = false;
|
||||
public bool InShapeEditMode = false;
|
||||
|
||||
private List<AnimationClass> Animations = new List<AnimationClass>();
|
||||
|
||||
@ -800,7 +801,7 @@ namespace EduNetworkBuilder
|
||||
Graphics.FromImage(TheNetImage).FillRectangle(theBrush, new Rectangle(0,0, TheNetImage.Width, TheNetImage.Height));
|
||||
//re-generate the image
|
||||
foreach (NetShape shape in Shapes)
|
||||
shape.Draw(TheNetImage); //Draw any shapes
|
||||
shape.Draw(TheNetImage, InShapeEditMode); //Draw any shapes
|
||||
//Do all the links first
|
||||
foreach (NetworkComponent NC in NetComponents)
|
||||
{
|
||||
|
Reference in New Issue
Block a user