Skip to content

Commit

Permalink
fix stop tts copy key
Browse files Browse the repository at this point in the history
  • Loading branch information
ttop32 committed Mar 20, 2024
1 parent 83deebe commit 506361f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contentScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,8 @@ async function stopTTSbyCombKey(key) {
return;
}
// stop tts if combination key ex crtl+c
for (var i in [1, 2, 3]) {
await delay(250);
for (let i = 0; i < 10; i++) {
await delay(200);
util.requestStopTTS();
}
}
Expand Down

0 comments on commit 506361f

Please sign in to comment.