mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fixed updating of emoji status from TopBar in Premium Settings for user.
Regression was introduced in 47b32898f5
.
This commit is contained in:
@@ -580,7 +580,7 @@ void EmojiStatusTopBar::paint(QPainter &p) {
|
||||
crl::now(),
|
||||
_paused);
|
||||
|
||||
p.drawImage(_rect, frame.image);
|
||||
p.drawImage(_rect.toRect(), frame.image);
|
||||
if (!_paused) {
|
||||
_player->markFrameShown();
|
||||
}
|
||||
@@ -675,7 +675,7 @@ TopBarUser::TopBarUser(
|
||||
if (document) {
|
||||
_emojiStatus = std::make_unique<EmojiStatusTopBar>(
|
||||
document,
|
||||
[=](QRect r) { update(std::move(r)); },
|
||||
[=](QRect r) { _content->update(std::move(r)); },
|
||||
HistoryView::Sticker::EmojiSize());
|
||||
_imageStar = QImage();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user