Decision size (#417)
Hello!
I have changed size of decision element to zero and got error:
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Drawing2D.GraphicsPath.IsOutlineVisible(Point pt, Pen pen, Graphics graphics)
at System.Drawing.Drawing2D.GraphicsPath.IsOutlineVisible(Point point, Pen pen)
at SoftwareIdeasModeler.Core.DiagramItems.Concrete.ConcreteRelation.ContainsPointOnRelationPath(Point point)
at SoftwareIdeasModeler.Core.DiagramItems.Concrete.ConcreteRelation.ContainsPoint(Point point)
at SoftwareIdeasModeler.Core.Projecting.DiagramLayer.GetItemAt(Point location, List`1 activeItems, Boolean relationsAlwaysOnTop)
at SoftwareIdeasModeler.Core.Projecting.Diagram.GetItemAt(Point location, List`1 activeItems, Boolean relationsAlwaysOnTop)
at SoftwareIdeasModeler.Core.Projecting.Diagram.GetItemAt(Point location, ConcreteDiagramItem activeItem, Boolean relationsAlwaysOnTop)
at SoftwareIdeasModeler.SimDiagramControl.canvas_MouseMove(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)