mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
feat: show controls for GIFs
This commit is contained in:
parent
1f66e8ebeb
commit
acea390f3a
1 changed files with 2 additions and 2 deletions
|
@ -1081,8 +1081,8 @@ QSize OverlayWidget::videoSize() const {
|
||||||
|
|
||||||
bool OverlayWidget::streamingRequiresControls() const {
|
bool OverlayWidget::streamingRequiresControls() const {
|
||||||
return !_stories
|
return !_stories
|
||||||
&& _document
|
&& _document;
|
||||||
&& (!_document->isAnimation() || _document->isVideoMessage());
|
// && (!_document->isAnimation() || _document->isVideoMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
QImage OverlayWidget::videoFrame() const {
|
QImage OverlayWidget::videoFrame() const {
|
||||||
|
|
Loading…
Add table
Reference in a new issue