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;
|
||||
const auto animating = reader && reader->started();
|
||||
|
||||
if (!animating || item->id < 0) {
|
||||
if (displayLoading) {
|
||||
if ((!animating || item->id < 0) && displayLoading) {
|
||||
ensureAnimation();
|
||||
if (!_animation->radial.animating()) {
|
||||
_animation->radial.start(dataProgress());
|
||||
}
|
||||
}
|
||||
updateStatusText();
|
||||
} else if (playingVideo) {
|
||||
updateStatusText();
|
||||
}
|
||||
auto radial = isRadialAnimation(ms);
|
||||
|
||||
if (bubble) {
|
||||
|
|
Loading…
Reference in New Issue