2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added ability to crop images in photo editor.

This commit is contained in:
23rd
2021-02-08 10:01:15 +03:00
parent 85c21ba0e4
commit e1ea833ad6
8 changed files with 438 additions and 8 deletions

View File

@@ -52,6 +52,7 @@ PhotoEditor::PhotoEditor(
}
void PhotoEditor::save() {
_modifications.crop = _content->cropRect();
_done.fire_copy(_modifications);
}