2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Correctly round spoiler animation in ExtendedMedia.

This commit is contained in:
John Preston
2022-09-09 20:09:51 +04:00
parent a919978a37
commit 2e8a03dfd1
37 changed files with 141 additions and 255 deletions

View File

@@ -570,7 +570,8 @@ void ConfirmContactBox::paintEvent(QPaintEvent *e) {
auto context = theme->preparePaintContext(
_chatStyle.get(),
rect(),
rect());
rect(),
controller()->isGifPausedAtLeastFor(Window::GifPauseReason::Layer));
p.translate(st::boxPadding.left(), 0);
if (_comment) {
context.outbg = _comment->hasOutLayout();