We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1981b13 commit 9a1f94bCopy full SHA for 9a1f94b
src/tagstudio/qt/mixed/media_player.py
@@ -312,7 +312,10 @@ def releaseMouse(self) -> None: # noqa: N802
312
def mousePressEvent(self, event: QMouseEvent) -> None:
313
# Pause media if background is clicked, with buffer around controls
314
buffer: int = 6
315
- if event.y() < (self.height() - self.controls.height() - buffer):
+ if (
316
+ event.y() < (self.height() - self.controls.height() - buffer)
317
+ and event.button() == Qt.MouseButton.LeftButton
318
+ ):
319
self.toggle_play()
320
return super().mousePressEvent(event)
321
0 commit comments