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())),
|
int(base::SafeRound(rect.y())),
|
||||||
_now,
|
_now,
|
||||||
st::defaultTextPalette.spoilerActiveBg->c,
|
st::defaultTextPalette.spoilerActiveBg->c,
|
||||||
_paused());
|
_paused && _paused());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CustomEmojiObject::clear() {
|
void CustomEmojiObject::clear() {
|
||||||
|
|
|
||||||
|
|
@ -268,7 +268,7 @@ public:
|
||||||
void setTagMimeProcessor(Fn<QString(QStringView)> processor);
|
void setTagMimeProcessor(Fn<QString(QStringView)> processor);
|
||||||
void setCustomEmojiFactory(
|
void setCustomEmojiFactory(
|
||||||
CustomEmojiFactory factory,
|
CustomEmojiFactory factory,
|
||||||
Fn<bool()> paused);
|
Fn<bool()> paused = nullptr);
|
||||||
|
|
||||||
struct EditLinkSelection {
|
struct EditLinkSelection {
|
||||||
int from = 0;
|
int from = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue