2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Don't pause video on viewer drag.

This commit is contained in:
John Preston
2024-09-09 17:54:16 +04:00
parent 9aec6b6496
commit 40b0854704
2 changed files with 2 additions and 2 deletions

View File

@@ -6050,7 +6050,7 @@ void OverlayWidget::handleMouseRelease(
} else if (_over == Over::Video && _down == Over::Video) {
if (_stories) {
_stories->contentPressed(false);
} else if (_streamed) {
} else if (_streamed && !_window->mousePressCancelled()) {
playbackPauseResume();
}
} else if (_pressed) {