Fix computation errors in framing tool

* Compute image aspect ratio if required instead of leaving at 0
* Fix divide by zero error in computing framed size
* Compute resize scale based on original crop
* Reword "Current" aspect ratio to "As Image"
This commit is contained in:
Daniel Gao
2024-11-14 19:30:00 -05:00
parent 55480f40ea
commit 4358c2d7a6
2 changed files with 22 additions and 33 deletions

View File

@@ -243,7 +243,7 @@ public:
static constexpr int INDEX_CURRENT = 0;
AspectRatios() :
ratios{{M("GENERAL_CURRENT")}}
ratios{{M("GENERAL_ASIMAGE")}}
{
fillAspectRatios(ratios);
}