Crop ratios and selection start, Vignette on empty layers, text colour previews (12.10c); mutation runs use 12 cores
This commit is contained in:
1 parent
7a873eb9c7
commit
ffba1753c6
27 files changed
+555
-55
No files matched your search
@@ -188,8 +188,12 @@ std::optional<double> EditorSession::cropRatio() const
|
||||
return 1;
|
||||
if (m_cropRatioChoice == QStringLiteral("4:3"))
|
||||
return 4.0 / 3;
|
||||
if (m_cropRatioChoice == QStringLiteral("3:4"))
|
||||
return 3.0 / 4;
|
||||
if (m_cropRatioChoice == QStringLiteral("16:9"))
|
||||
return 16.0 / 9;
|
||||
if (m_cropRatioChoice == QStringLiteral("9:16"))
|
||||
return 9.0 / 16;
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user