From 122076af3edfd432e6abe3b2571f21034d5c16e5 Mon Sep 17 00:00:00 2001 From: Tyler Schicke Date: Wed, 23 Jan 2019 01:21:15 -0500 Subject: Small changes and more work on drag drop stuff --- src/views/freeformcanvas/FreeFormCanvas.tsx | 2 +- src/views/nodes/DocumentView.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/views') diff --git a/src/views/freeformcanvas/FreeFormCanvas.tsx b/src/views/freeformcanvas/FreeFormCanvas.tsx index e051fd97c..13e923736 100644 --- a/src/views/freeformcanvas/FreeFormCanvas.tsx +++ b/src/views/freeformcanvas/FreeFormCanvas.tsx @@ -77,7 +77,7 @@ export class FreeFormCanvas extends React.Component { let store = this.props.store; return (
e.preventDefault()}> -
+
{this.props.store.Docs.map(doc => { return (); diff --git a/src/views/nodes/DocumentView.tsx b/src/views/nodes/DocumentView.tsx index 648ea7f50..772c272bd 100644 --- a/src/views/nodes/DocumentView.tsx +++ b/src/views/nodes/DocumentView.tsx @@ -130,7 +130,6 @@ export class DocumentView extends React.Component { private _isPointerDown = false; componentDidMount() { - return; // if(this._mainCont.current) { // DragManager.MakeDraggable(this._mainCont.current, { // buttons: 2, @@ -143,6 +142,7 @@ export class DocumentView extends React.Component { } onPointerDown = (e: React.PointerEvent): void => { + // return; e.stopPropagation(); if (e.button === 2) { this._isPointerDown = true; -- cgit v1.2.3-70-g09d2