mirror of https://github.com/procxx/kepka.git
Fix closing of fullscreen GIFs by click.
This commit is contained in:
parent
c3463dec63
commit
8e222d3501
|
@ -3688,7 +3688,7 @@ void OverlayWidget::updateOver(QPoint pos) {
|
||||||
} else if (documentContentShown() && contentRect().contains(pos)) {
|
} else if (documentContentShown() && contentRect().contains(pos)) {
|
||||||
if ((_doc->isVideoFile() || _doc->isVideoMessage()) && _streamed) {
|
if ((_doc->isVideoFile() || _doc->isVideoMessage()) && _streamed) {
|
||||||
updateOverState(OverVideo);
|
updateOverState(OverVideo);
|
||||||
} else if (!_doc->loaded()) {
|
} else if (!_streamed && !_doc->loaded()) {
|
||||||
updateOverState(OverIcon);
|
updateOverState(OverIcon);
|
||||||
} else if (_over != OverNone) {
|
} else if (_over != OverNone) {
|
||||||
updateOverState(OverNone);
|
updateOverState(OverNone);
|
||||||
|
|
Loading…
Reference in New Issue