diff options
Diffstat (limited to 'src/stores/NodeCollectionStore.ts')
-rw-r--r-- | src/stores/NodeCollectionStore.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stores/NodeCollectionStore.ts b/src/stores/NodeCollectionStore.ts index 8c7f7623b..b6f2ef8e0 100644 --- a/src/stores/NodeCollectionStore.ts +++ b/src/stores/NodeCollectionStore.ts @@ -1,5 +1,6 @@ import { computed, observable, action } from "mobx"; import { NodeStore } from "./NodeStore"; +import { DocumentController } from "../controllers/DocumentController"; export class NodeCollectionStore extends NodeStore { @@ -9,6 +10,9 @@ export class NodeCollectionStore extends NodeStore { @observable public Nodes: NodeStore[] = new Array<NodeStore>(); + @observable + public Docs: DocumentController[] = []; + @computed public get Transform(): string { return "translate(" + this.X + "px," + this.Y + "px) scale(" + this.Scale + "," + this.Scale + ")"; |