refactor: Layers/Keyboard component (#82)
This commit is contained in:
committed by
József Farkas
parent
9dfc02214d
commit
e54d63e1c5
@@ -1,10 +1,12 @@
|
||||
import {Serializable} from '../Serializable';
|
||||
import {Modules} from './Modules';
|
||||
import {UhkBuffer} from '../UhkBuffer';
|
||||
import { Serializable } from '../Serializable';
|
||||
import { Modules } from './Modules';
|
||||
import { UhkBuffer } from '../UhkBuffer';
|
||||
import { AnimationKeyboard } from '../../src/components/svg/wrap';
|
||||
|
||||
export class Layer extends Serializable<Layer> {
|
||||
|
||||
modules: Modules;
|
||||
animation: AnimationKeyboard = 'none';
|
||||
|
||||
_fromJsObject(jsObject: any): Layer {
|
||||
this.modules = new Modules().fromJsObject(jsObject.modules);
|
||||
|
||||
Reference in New Issue
Block a user