mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Fixed OnResizing issue
This commit is contained in:
parent
13bf678f63
commit
147a4efac7
2 changed files with 2 additions and 5 deletions
|
@ -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)
|
||||
|
|
|
@ -1246,11 +1246,6 @@ private void UpdateNodes()
|
|||
{
|
||||
if (InputManager.IsMouseDown(MouseButtons.Left))
|
||||
{
|
||||
if (!IsResizing)
|
||||
{
|
||||
shape.OnResizing();
|
||||
}
|
||||
|
||||
shape.OnNodeUpdate();
|
||||
}
|
||||
else if (IsResizing)
|
||||
|
|
Loading…
Reference in a new issue