From 7087091612e39344c88f96eca12172a1045391bc Mon Sep 17 00:00:00 2001 From: madelinegr Date: Wed, 27 Feb 2019 00:47:13 -0500 Subject: kvp almost done+1 --- src/client/views/collections/CollectionFreeFormView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx index ded1e3785..5a5f9197d 100644 --- a/src/client/views/collections/CollectionFreeFormView.tsx +++ b/src/client/views/collections/CollectionFreeFormView.tsx @@ -166,7 +166,7 @@ export class CollectionFreeFormView extends CollectionViewBase { @action addKVP(doc: Document) { let fields = doc.fields; - // aefawefwaef + //TODO: return kvp } @computed get backgroundLayout(): string | undefined { @@ -229,6 +229,7 @@ export class CollectionFreeFormView extends CollectionViewBase { noScaling = () => 1; render() { + //TODO: put KVP stuff in this function const panx: number = this.props.Document.GetNumber(KeyStore.PanX, 0) + this.centeringShiftX; const pany: number = this.props.Document.GetNumber(KeyStore.PanY, 0) + this.centeringShiftY; return ( @@ -246,7 +247,6 @@ export class CollectionFreeFormView extends CollectionViewBase { {this.backgroundView} {this.views} -