Revert position assignment

This commit is contained in:
Jaex 2017-11-20 22:31:16 +03:00
parent 8d41315c47
commit 64cdf85b8d

View file

@ -260,8 +260,8 @@ public virtual void OnNodeUpdate()
if (!InputManager.IsBeforeMouseDown(MouseButtons.Left))
{
tempNodePos = node.Position;
tempStartPos = StartPosition;
tempEndPos = EndPosition;
tempStartPos = Rectangle.Location;
tempEndPos = new Point(Rectangle.X + Rectangle.Width - 1, Rectangle.Y + Rectangle.Height - 1);
tempRectangle = Rectangle;
OnResizing();