fix: Key macro action saving (#322)

Fixes #321
This commit is contained in:
József Farkas
2017-06-27 22:28:37 +02:00
committed by László Monda
parent 22a59160fb
commit 6c271c219a
5 changed files with 56 additions and 37 deletions

View File

@@ -140,7 +140,7 @@ export class MacroItemComponent implements OnInit, OnChanges {
}
if (action.hasScancode()) {
const scancode: string = (this.mapper.scanCodeToText(action.scancode) || ['Unknown']).join(' ');
const scancode: string = (this.mapper.scanCodeToText(action.scancode, action.type) || ['Unknown']).join(' ');
if (scancode) {
this.title += scancode;
}