diff --git a/src/components/popover/tab/keypress/keypress-tab.component.ts b/src/components/popover/tab/keypress/keypress-tab.component.ts index 3a112875..dd5e566d 100644 --- a/src/components/popover/tab/keypress/keypress-tab.component.ts +++ b/src/components/popover/tab/keypress/keypress-tab.component.ts @@ -42,6 +42,7 @@ export class KeypressTabComponent implements OnInit, Tab { this.longPressGroups = require('json!./longPress.json'); this.leftModifierSelects = Array(this.leftModifiers.length).fill(false); this.rightModifierSelects = Array(this.rightModifiers.length).fill(false); + this.scanCode = 0; this.selectedLongPressIndex = -1; }