Toggle audio/video playback with spacebar

This commit is contained in:
2024-04-11 20:32:55 +02:00
parent 5f6cc3f90f
commit a0ccbb55be
13 changed files with 67 additions and 28 deletions

View File

@@ -340,6 +340,9 @@ const keyboard_event = evt => {
list_navigator.next()
}
break
case " ": // Spacebar pauses / unpauses video and audio playback
file_preview.toggle_playback()
break
case "s":
case "S":
if (evt.shiftKey) {