Make KeySequence class

This commit is contained in:
Shin'ya UEOKA 2019-10-03 12:32:32 +00:00
parent 62a86c5253
commit b496cea582
5 changed files with 63 additions and 74 deletions

View file

@ -7,7 +7,7 @@ export default interface KeymapRepository {
clear(): void;
}
let current: KeySequence = KeySequence.from([]);
let current: KeySequence = new KeySequence([]);
export class KeymapRepositoryImpl {
@ -17,6 +17,6 @@ export class KeymapRepositoryImpl {
}
clear(): void {
current = KeySequence.from([]);
current = new KeySequence([]);
}
}