GIF-related fixes
This commit is contained in:
parent
9a872a355e
commit
4845a251c5
2 changed files with 2 additions and 1 deletions
|
|
@ -73,6 +73,7 @@ bool HasFloatingHeader(Type type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case Type::Photo:
|
case Type::Photo:
|
||||||
case Type::Video:
|
case Type::Video:
|
||||||
|
case Type::GIF:
|
||||||
case Type::RoundFile:
|
case Type::RoundFile:
|
||||||
case Type::RoundVoiceFile:
|
case Type::RoundVoiceFile:
|
||||||
case Type::MusicFile:
|
case Type::MusicFile:
|
||||||
|
|
|
||||||
|
|
@ -2502,7 +2502,7 @@ void OverlayWidget::displayDocument(
|
||||||
}
|
}
|
||||||
refreshFromLabel(item);
|
refreshFromLabel(item);
|
||||||
_blurred = false;
|
_blurred = false;
|
||||||
if (_showAsPip && _streamed && !videoIsGifOrUserpic()) {
|
if (_showAsPip && _streamed/* && !videoIsGifOrUserpic()*/) {
|
||||||
switchToPip();
|
switchToPip();
|
||||||
} else {
|
} else {
|
||||||
displayFinished();
|
displayFinished();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue