Version 1.5.2: Fix video message duration.
This commit is contained in:
parent
7378ad00b0
commit
4836173fe6
|
@ -2256,17 +2256,13 @@ void HistoryGif::draw(Painter &p, const QRect &r, TextSelection selection, TimeM
|
||||||
: false;
|
: false;
|
||||||
const auto animating = reader && reader->started();
|
const auto animating = reader && reader->started();
|
||||||
|
|
||||||
if (!animating || item->id < 0) {
|
if ((!animating || item->id < 0) && displayLoading) {
|
||||||
if (displayLoading) {
|
|
||||||
ensureAnimation();
|
ensureAnimation();
|
||||||
if (!_animation->radial.animating()) {
|
if (!_animation->radial.animating()) {
|
||||||
_animation->radial.start(dataProgress());
|
_animation->radial.start(dataProgress());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
updateStatusText();
|
updateStatusText();
|
||||||
} else if (playingVideo) {
|
|
||||||
updateStatusText();
|
|
||||||
}
|
|
||||||
auto radial = isRadialAnimation(ms);
|
auto radial = isRadialAnimation(ms);
|
||||||
|
|
||||||
if (bubble) {
|
if (bubble) {
|
||||||
|
|
Loading…
Reference in New Issue