mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Proof-of-concept animated custom emoji.
This commit is contained in:
@@ -249,7 +249,9 @@ std::unique_ptr<Ui::Text::CustomEmoji> UiIntegration::createCustomEmoji(
|
||||
if (!my || !my->session) {
|
||||
return nullptr;
|
||||
}
|
||||
return my->session->data().customEmojiManager().create(data);
|
||||
return my->session->data().customEmojiManager().create(
|
||||
data,
|
||||
my->customEmojiRepaint);
|
||||
}
|
||||
|
||||
rpl::producer<> UiIntegration::forcePopupMenuHideRequests() {
|
||||
|
@@ -28,6 +28,7 @@ struct MarkedTextContext {
|
||||
|
||||
Main::Session *session = nullptr;
|
||||
HashtagMentionType type = HashtagMentionType::Telegram;
|
||||
Fn<void()> customEmojiRepaint;
|
||||
};
|
||||
|
||||
class UiIntegration final : public Ui::Integration {
|
||||
|
Reference in New Issue
Block a user