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:
@@ -243,7 +243,7 @@ public:
|
||||
static constexpr int INDEX_CURRENT = 0;
|
||||
|
||||
AspectRatios() :
|
||||
ratios{{M("GENERAL_CURRENT")}}
|
||||
ratios{{M("GENERAL_ASIMAGE")}}
|
||||
{
|
||||
fillAspectRatios(ratios);
|
||||
}
|
||||
|
Reference in New Issue
Block a user