From 7e6abebf9e60caaa797e38788b97c4b66ee0fc20 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 24 Apr 2026 11:23:55 +0300 Subject: [PATCH] [img-editor] Added 3:4 aspect ratio to crop options. --- Telegram/SourceFiles/editor/photo_editor_controls.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/editor/photo_editor_controls.cpp b/Telegram/SourceFiles/editor/photo_editor_controls.cpp index 46a8c8f1d0..5d10465d10 100644 --- a/Telegram/SourceFiles/editor/photo_editor_controls.cpp +++ b/Telegram/SourceFiles/editor/photo_editor_controls.cpp @@ -513,6 +513,7 @@ PhotoEditorControls::PhotoEditorControls( add(tr::lng_photo_editor_crop_square(tr::now), 1.); add(u"3:2"_q, 3. / 2.); add(u"16:9"_q, 16. / 9.); + add(u"3:4"_q, 3. / 4.); add(u"9:16"_q, 9. / 16.); add(tr::lng_photo_editor_crop_free(tr::now), 0.); const auto button = _cropRatioButton.get();