aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-02-12 08:43:39 -0500
committerBob Zeleznik <zzzman@gmail.com>2019-02-12 08:43:39 -0500
commit1afff429130469a431af1552b77c3ff197f3820a (patch)
treef6d0bcda2bd9c62b37e056501bbeb8ddeb61d593 /src
parenta4d9aff0211fec1a4a98143025ae02466cf777ec (diff)
changed back to DocumentView={this} in CollectionFreeFormDocumentView - it's needed when panning a collectionl
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/CollectionFreeFormDocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
index 4641ea290..54d3a1b56 100644
--- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
+++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
@@ -238,7 +238,7 @@ export class CollectionFreeFormDocumentView extends DocumentView {
onContextMenu={this.onContextMenu}
onPointerDown={this.onPointerDown}>
- <DocumentView {...this.props} GetTransform={this.getTransform} DocumentView={this.props.DocumentView} />
+ <DocumentView {...this.props} GetTransform={this.getTransform} DocumentView={this} />
</div>
);
}