Refactor: Replace NoneAction with null in JSON representation

This commit is contained in:
Farkas József
2016-11-26 20:54:11 +01:00
parent c42cff71ae
commit 6bbcacfbe6
8 changed files with 290 additions and 812 deletions

View File

@@ -28,7 +28,6 @@ import {
LayerName,
MouseAction,
MouseActionParam,
NoneAction,
PlayMacroAction,
SwitchKeymapAction,
SwitchLayerAction
@@ -165,7 +164,7 @@ export class SvgKeyboardWrapComponent implements OnChanges {
showTooltip(keyAction: KeyAction, event: MouseEvent): void {
if (keyAction instanceof NoneAction || keyAction === undefined) {
if (keyAction === undefined) {
return;
}