Rename KeyMap to Keymap

This commit is contained in:
József Farkas
2016-05-23 19:05:17 +02:00
parent dc280dae4c
commit 0725428309
8 changed files with 38 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core';
import {UhkConfigurationService} from '../../../services/uhk-configuration.service';
import {KeyMap} from '../../../../config-serializer/config-items/KeyMap';
import {Keymap} from '../../../../config-serializer/config-items/Keymap';
import {SvgKeyboardComponent} from '../../svg-keyboard.component';
@Component({
@@ -30,12 +30,12 @@ import {SvgKeyboardComponent} from '../../svg-keyboard.component';
})
export class KeymapTabComponent implements OnInit {
private keymaps: KeyMap[];
private keymaps: Keymap[];
private selectedKeymapIndex: number;
constructor(uhkConfigurationService: UhkConfigurationService) {
this.selectedKeymapIndex = -1;
this.keymaps = uhkConfigurationService.getUhkConfiguration().keyMaps.elements;
this.keymaps = uhkConfigurationService.getUhkConfiguration().keymaps.elements;
}
ngOnInit() { }

View File

@@ -61,7 +61,7 @@ export class MainAppComponent implements OnInit, AfterViewInit {
}
ngOnInit() {
this.layers = this.uhkConfigurationService.getUhkConfiguration().keyMaps.elements[0].layers;
this.layers = this.uhkConfigurationService.getUhkConfiguration().keymaps.elements[0].layers;
}
ngAfterViewInit() {