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:
@@ -52,6 +52,7 @@ PhotoEditor::PhotoEditor(
|
||||
}
|
||||
|
||||
void PhotoEditor::save() {
|
||||
_modifications.crop = _content->cropRect();
|
||||
_done.fire_copy(_modifications);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user