aboutsummaryrefslogtreecommitdiff
path: root/src/content/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/controllers')
-rw-r--r--src/content/controllers/KeymapController.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/controllers/KeymapController.ts b/src/content/controllers/KeymapController.ts
index b8069f9..452e3d4 100644
--- a/src/content/controllers/KeymapController.ts
+++ b/src/content/controllers/KeymapController.ts
@@ -38,7 +38,7 @@ export default class KeymapController {
}
if (!operations.isNRepeatable(nextOp.op.type)) {
- nextOp.count = 1;
+ nextOp.repeat = 1;
}
const doFunc = ((op: operations.Operation) => {
@@ -91,9 +91,9 @@ export default class KeymapController {
// Do not await asynchronous methods to return a boolean immidiately. The
// caller requires the synchronous response from the callback to identify
// to continue of abandon the event propagations.
- this.operationClient.execBackgroundOp(nextOp.count, nextOp.op);
+ this.operationClient.execBackgroundOp(nextOp.repeat, nextOp.op);
} else {
- for (let i = 0; i < nextOp.count; ++i) {
+ for (let i = 0; i < nextOp.repeat; ++i) {
doFunc();
}
}