Improve documentation for shortcuts

This commit is contained in:
2024-08-14 19:58:25 +02:00
parent 3d128a2960
commit 1382c01a14
9 changed files with 147 additions and 74 deletions

View File

@@ -90,6 +90,24 @@ const keydown = e => {
file_preview.toggle_playback()
}
break
case "h":
file_preview.seek(-20)
break
case "j":
file_preview.seek(-5)
break
case "k":
file_preview.seek(5)
break
case "l":
file_preview.seek(20)
break
case ",":
file_preview.seek(-0.04) // Roughly a single frame.. assuming 25fps
break
case ".":
file_preview.seek(0.04)
break
default:
action_performed = false
}