2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Remove test code for animated path thumbnails.

This commit is contained in:
John Preston
2021-07-02 20:21:06 +03:00
parent b22e2ffe1d
commit a8df3dcf91
4 changed files with 0 additions and 44 deletions

View File

@@ -828,16 +828,6 @@ void FieldAutocomplete::Inner::paintEvent(QPaintEvent *e) {
h = std::max(qRound(coef * document->dimensions.height()), 1);
}
QPoint ppos = pos + QPoint((st::stickerPanSize.width() - w) / 2, (st::stickerPanSize.height() - h) / 2);
ChatHelpers::PaintStickerThumbnailPath(
p,
media.get(),
QRect(ppos, QSize(w, h)),
_pathGradient.get());
continue; AssertIsDebug();
if (sticker.animated && sticker.animated->ready()) {
const auto frame = sticker.animated->frame();
const auto size = frame.size() / cIntRetinaFactor();