mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(resize): add aspect-ratio proportion presets (#530)
Add a proportion chip row (Free, Original, 1:1, 4:3, 3:2, 16:9, 3:4, 9:16) to the Resize tool's Custom tab. Picking a ratio locks width and height so editing one recomputes the other, and prefills the largest box of that ratio that fits the source so it never upscales. Free stays the default, preserving existing behavior. Replaces the previously non-functional lock-aspect button. Frontend only, no backend or schema change; adds strings to all 21 locales.
This commit is contained in:
@@ -1200,6 +1200,9 @@ export const ru: TranslationKeys = {
|
||||
scale: "Масштаб",
|
||||
presets: "Шаблоны",
|
||||
contentAware: "Контентно-зависимый",
|
||||
aspectRatio: "Соотношение сторон",
|
||||
ratioFree: "Свободно",
|
||||
ratioOriginal: "Исходный",
|
||||
widthPx: "Ширина (px)",
|
||||
heightPx: "Высота (px)",
|
||||
fitMode: "Режим вписывания",
|
||||
|
||||
Reference in New Issue
Block a user