diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-02-05 21:59:31 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-02-05 21:59:31 +0900 |
commit | c2b1aca9a1db96c52386b478a7e25472410226d4 (patch) | |
tree | 3897655d50f852dd850a9b27734e0000062d1621 /src/content/controllers | |
parent | 23c59c9747f83d70df6fc630b1ce99639029dbe7 (diff) |
Clear keys on window blur
Diffstat (limited to 'src/content/controllers')
-rw-r--r-- | src/content/controllers/KeymapController.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/content/controllers/KeymapController.ts b/src/content/controllers/KeymapController.ts index f9c2545..639b4a1 100644 --- a/src/content/controllers/KeymapController.ts +++ b/src/content/controllers/KeymapController.ts @@ -99,4 +99,8 @@ export default class KeymapController { } return true; } + + onBlurWindow() { + this.keymapUseCase.cancel(); + } } |