Skip to content

Commit 52afd4d

Browse files
committed
chore(shortcuts): right/left/l/j => up/down/left/right
1 parent b913264 commit 52afd4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

static/js/player_shortcuts.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ const shortcuts = {
2424
8: () => (audioPlayerEl.currentTime = audioPlayerEl.duration * 0.8),
2525
9: () => (audioPlayerEl.currentTime = audioPlayerEl.duration * 0.9),
2626
$: () => (audioPlayerEl.currentTime = audioPlayerEl.duration),
27-
j: () => (audioPlayerEl.currentTime -= 10),
28-
l: () => (audioPlayerEl.currentTime += 10),
29-
ArrowRight: () => setVolume(audioPlayerEl.volume + 0.1),
30-
ArrowLeft: () => setVolume(audioPlayerEl.volume - 0.1),
27+
ArrowLeft: () => (audioPlayerEl.currentTime -= 10),
28+
ArrowRight: () => (audioPlayerEl.currentTime += 10),
29+
ArrowUp: () => setVolume(audioPlayerEl.volume + 0.1),
30+
ArrowDown: () => setVolume(audioPlayerEl.volume - 0.1),
3131
i: expand,
3232
I: collapse,
3333
"/": () => searchInputEl.focus(),

0 commit comments

Comments
 (0)