refactor: Keymap
This commit is contained in:
@@ -117,7 +117,7 @@ export class SvgKeyboardWrapComponent implements OnChanges {
|
||||
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
if (changes['keymap'].previousValue.abbreviation !== changes['keymap'].currentValue.abbreviation) {
|
||||
this.layers = this.keymap.layers.elements;
|
||||
this.layers = this.keymap.layers;
|
||||
this.currentLayer = 0;
|
||||
|
||||
if (this.layers.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user