From e59dbb02175ec394a35c496201da71c90cd6a50a Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Tue, 5 Feb 2019 23:19:26 -0500
Subject: mostly working version, but confused about LayoutKeys needing to
 inquire value seemingly unecessarily

---
 src/views/nodes/CollectionFreeFormDocumentView.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/views/nodes/CollectionFreeFormDocumentView.tsx')

diff --git a/src/views/nodes/CollectionFreeFormDocumentView.tsx b/src/views/nodes/CollectionFreeFormDocumentView.tsx
index 9f13733c9..06ea0c64b 100644
--- a/src/views/nodes/CollectionFreeFormDocumentView.tsx
+++ b/src/views/nodes/CollectionFreeFormDocumentView.tsx
@@ -207,8 +207,7 @@ export class CollectionFreeFormDocumentView extends DocumentView {
 
     render() {
         var freestyling = this.props.ContainingCollectionView instanceof CollectionFreeFormView;
-        let data = this.props.Document.GetFieldT(KeyStore.Data, ImageField);
-        console.log("CollectionFFDocView " + this.props.Document.Title + "<" + data + "> x=" + this.x);
+        console.log("CollectionFFDocView " + this.props.Document.Title);
         return (
             <div className="node" ref={this._mainCont} style={{
                 transform: freestyling ? this.transform : "",
@@ -220,7 +219,7 @@ export class CollectionFreeFormDocumentView extends DocumentView {
                 onContextMenu={this.onContextMenu}
                 onPointerDown={this.onPointerDown}>
 
-                <DocumentView {...this.props} DocumentView={this} Data={data} />
+                <DocumentView {...this.props} DocumentView={this} />
             </div>
         );
     }
-- 
cgit v1.2.3-70-g09d2

