Skip to content

Fix shortcut key toggle issue#1239

Open
SwordHand wants to merge 1 commit intolisten1:masterfrom
SwordHand:patch-1
Open

Fix shortcut key toggle issue#1239
SwordHand wants to merge 1 commit intolisten1:masterfrom
SwordHand:patch-1

Conversation

@SwordHand
Copy link
Copy Markdown

@SwordHand SwordHand commented Jan 30, 2026

Fixing the issue where the Windows pause shortcut key is not working.

修复win快捷键无法暂停
@mikelxk
Copy link
Copy Markdown
Collaborator

mikelxk commented Feb 28, 2026

Looks good,
I just don't know why it could fix the issue thou

togglePlayPause() {
getPlayerAsync(mode, (player) => {
if (player.playing) {
player.pause();
} else {
player.play();
}
});
},

Maybe it's because we're using $scope instead of getPlayerAsync ?
If that's the case, it's better we fix that instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants