2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Added ability to drag and drop images in photo editor.

This commit is contained in:
23rd
2021-05-07 00:47:49 +03:00
parent a93ec9c2c2
commit 96b40f43e9
14 changed files with 246 additions and 18 deletions

View File

@@ -58,7 +58,8 @@ PhotoEditor::PhotoEditor(
this,
controller->sessionController())
: nullptr,
std::make_unique<UndoController>()))
std::make_unique<UndoController>(),
[=] (object_ptr<Ui::BoxContent> c) { controller->show(std::move(c)); }))
, _content(base::make_unique_q<PhotoEditorContent>(
this,
photo,