Custom emoji not pausing by default.
This commit is contained in:
parent
0b829240fd
commit
464c6a6171
2 changed files with 2 additions and 2 deletions
|
|
@ -1414,7 +1414,7 @@ void CustomEmojiObject::drawObject(
|
|||
int(base::SafeRound(rect.y())),
|
||||
_now,
|
||||
st::defaultTextPalette.spoilerActiveBg->c,
|
||||
_paused());
|
||||
_paused && _paused());
|
||||
}
|
||||
|
||||
void CustomEmojiObject::clear() {
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@ public:
|
|||
void setTagMimeProcessor(Fn<QString(QStringView)> processor);
|
||||
void setCustomEmojiFactory(
|
||||
CustomEmojiFactory factory,
|
||||
Fn<bool()> paused);
|
||||
Fn<bool()> paused = nullptr);
|
||||
|
||||
struct EditLinkSelection {
|
||||
int from = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue