aboutsummaryrefslogtreecommitdiff
path: root/src/stores/NodeCollectionStore.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-01-15 07:57:16 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-01-15 07:57:16 -0500
commit3de39e2608e62a278b9c8cc37b53333f0877fa59 (patch)
tree0843d7cc199b54f80517c987a9f9d0d47cbb883d /src/stores/NodeCollectionStore.ts
parente1ed82ff684877b56925016282a0e4d5bb4e1b4b (diff)
Have most of document stuff working
Diffstat (limited to 'src/stores/NodeCollectionStore.ts')
-rw-r--r--src/stores/NodeCollectionStore.ts4
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 + ")";