aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/nodes/DocumentView.tsx')
-rw-r--r--src/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
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<IProps> {
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<IProps> {
}
onPointerDown = (e: React.PointerEvent): void => {
+ // return;
e.stopPropagation();
if (e.button === 2) {
this._isPointerDown = true;