Skip to content

Commit

Permalink
Merge pull request #111 from gcardozoj/master
Browse files Browse the repository at this point in the history
Bug fixing: Get format for all sequences in combo array
  • Loading branch information
wittlock authored Jul 17, 2019
2 parents 29fb493 + f045829 commit 09bb8f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotkey.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export class Hotkey {

get formatted(): string[] {
if(!this._formatted) {
let combo: string = this.combo[0];
let sequence: string[] = combo.split(/[\s]/);

let sequence: string[] = this.combo as Array<string>;
for (let i = 0; i < sequence.length; i++) {
sequence[i] = Hotkey.symbolize(sequence[i]);
}
Expand Down

0 comments on commit 09bb8f4

Please sign in to comment.