mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Remove redundant new progress in round videos.
This commit is contained in:
parent
75de81a3ab
commit
5e762be32b
1 changed files with 3 additions and 1 deletions
|
@ -607,7 +607,9 @@ void Gif::draw(Painter &p, const PaintContext &context) const {
|
||||||
validateThumbCache({ usew, painth }, isRound, rounding);
|
validateThumbCache({ usew, painth }, isRound, rounding);
|
||||||
p.drawImage(rthumb, _thumbCache);
|
p.drawImage(rthumb, _thumbCache);
|
||||||
}
|
}
|
||||||
paintTimestampMark(p, rthumb, rounding);
|
if (!isRound) {
|
||||||
|
paintTimestampMark(p, rthumb, rounding);
|
||||||
|
}
|
||||||
|
|
||||||
if (revealed < 1.) {
|
if (revealed < 1.) {
|
||||||
p.setOpacity(1. - revealed);
|
p.setOpacity(1. - revealed);
|
||||||
|
|
Loading…
Add table
Reference in a new issue