Skip to content

Commit

Permalink
feat(player): keyboard skip step
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Jan 8, 2024
1 parent 69bb93c commit c775dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/player.player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,10 @@ const __player_metadata__: PlayerMetadata = {
P.adjustVolume(-0.05);
break;
case 37: // Left
P.skip(T.ctrlKey ? -1 : -5);
P.skip(T.ctrlKey ? -10 : T.shiftKey ? -1 : 5);
break;
case 39: // Right
P.skip(T.ctrlKey ? 1 : 5);
P.skip(T.ctrlKey ? 10 : T.shiftKey ? 1 : 5);
break;
case 73: // I
P.toast(
Expand Down

0 comments on commit c775dc4

Please sign in to comment.