feat: Resizing properly working without taking delta magnitude into account
This commit is contained in:
parent
ce692af862
commit
65af35e8d5
4 changed files with 49 additions and 28 deletions
|
@ -41,7 +41,7 @@ namespace SatorImaging.AppWindowUtility {
|
|||
|
||||
if (_resizeDirection.x < 0)
|
||||
_targetPosition.x -= delta.x;
|
||||
if (_resizeDirection.y < 0)
|
||||
if (_resizeDirection.y > 0)
|
||||
_targetPosition.y -= delta.y;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue