Fix key bind animation side effect
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<svg:g svg-module *ngFor="let module of modules; let i = index"
|
||||
[coverages]="module.coverages"
|
||||
[keyboardKeys]="module.keyboardKeys"
|
||||
[keybindAnimationEnabled]="keybindAnimationEnabled"
|
||||
[attr.transform]="module.attributes.transform"
|
||||
[keyActions]="moduleConfig[i].keyActions"
|
||||
(keyClick)="onKeyClick(i, $event.index, $event.keyTarget)"
|
||||
|
||||
|
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 745 B |
@@ -10,6 +10,7 @@ import { SvgModule } from '../module';
|
||||
})
|
||||
export class SvgKeyboardComponent implements OnInit {
|
||||
@Input() moduleConfig: Module[];
|
||||
@Input() keybindAnimationEnabled: boolean;
|
||||
@Output() keyClick = new EventEmitter();
|
||||
@Output() keyHover = new EventEmitter();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user