mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Fix resizing some shapes with keyboard
This commit is contained in:
parent
5b92108c33
commit
eaac08413c
1 changed files with 2 additions and 2 deletions
|
@ -125,11 +125,11 @@ public virtual void Resize(int x, int y, bool fromBottomRight)
|
|||
{
|
||||
if (fromBottomRight)
|
||||
{
|
||||
Rectangle = Rectangle.SizeOffset(x, y);
|
||||
EndPosition = EndPosition.Add(x, y);
|
||||
}
|
||||
else
|
||||
{
|
||||
Rectangle = Rectangle.LocationOffset(x, y).SizeOffset(-x, -y);
|
||||
StartPosition = StartPosition.Add(x, y);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue