Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	package.json
  • Loading branch information
Igor Lückel committed May 11, 2023
2 parents edc3f2d + dab0f41 commit 09c33f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/hotkeys.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class HotkeysService {
}
if (Array.isArray(hotkey)) {
const temp: Hotkey[] = [];
for (const key of hotkey) {
for (const key of hotkey.slice()) {
temp.push(this.pause(key) as Hotkey);
}
return temp;
Expand All @@ -156,7 +156,7 @@ export class HotkeysService {
}
if (Array.isArray(hotkey)) {
const temp: Hotkey[] = [];
for (const key of hotkey) {
for (const key of hotkey.slice()) {
temp.push(this.unpause(key) as Hotkey);
}
return temp;
Expand Down

0 comments on commit 09c33f5

Please sign in to comment.