2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Added sticker panel to photo editor.

This commit is contained in:
23rd
2021-02-23 13:35:23 +03:00
parent 216ffad80e
commit 75367f0488
4 changed files with 37 additions and 0 deletions

View File

@@ -95,6 +95,12 @@ Paint::Paint(
.enable = enable,
};
})));
if (controllers->stickersPanelController) {
controllers->stickersPanelController->setShowRequestChanges(
controllers->stickersPanelController->stickerChosen(
) | rpl::map_to(std::optional<bool>(false)));
}
}
void Paint::applyTransform(QRect geometry, int angle, bool flipped) {