Fixed OnResizing issue

This commit is contained in:
Jaex 2017-11-14 14:21:36 +03:00
parent 13bf678f63
commit 147a4efac7
2 changed files with 2 additions and 5 deletions

View file

@ -240,6 +240,8 @@ public virtual void OnNodeUpdate()
tempNodePos = node.Position;
tempStartPos = Rectangle.Location;
tempEndPos = new Point(Rectangle.X + Rectangle.Width - 1, Rectangle.Y + Rectangle.Height - 1);
OnResizing();
}
if (Manager.IsCornerMoving || Manager.IsPanning)

View file

@ -1246,11 +1246,6 @@ private void UpdateNodes()
{
if (InputManager.IsMouseDown(MouseButtons.Left))
{
if (!IsResizing)
{
shape.OnResizing();
}
shape.OnNodeUpdate();
}
else if (IsResizing)