mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Fix scaling
This commit is contained in:
parent
9372ac5331
commit
f6ca02b436
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ namespace Greenshot.Editor.Helpers
|
|||
{
|
||||
// scaled rectangle (ratio) would be taller than original
|
||||
// keep width and tweak height to maintain aspect ratio
|
||||
newSize = newSize.ChangeWidth(selectedSize.Width / originalRatio * flippedRatioSign);
|
||||
newSize = newSize.ChangeHeight(selectedSize.Width / originalRatio * flippedRatioSign);
|
||||
}
|
||||
|
||||
return newSize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue