From 3ed0b4f916510b9b893e83759d424443b50495dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zsef=20Farkas?= Date: Fri, 19 Aug 2016 21:56:05 +0200 Subject: [PATCH] KeypressTab: Add missing scancode initialization --- src/components/popover/tab/keypress/keypress-tab.component.ts | 1 + 1 file changed, 1 insertion(+) 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; }