diff options
| author | andrewdkim <adkim414@gmail.com> | 2019-09-17 17:01:39 -0400 |
|---|---|---|
| committer | andrewdkim <adkim414@gmail.com> | 2019-09-17 17:01:39 -0400 |
| commit | cd052ac6bd318a0569c66ca1fba684b7dbdaaca9 (patch) | |
| tree | 29b3086762f70965f6be2c586180bf3c4c252688 /src/client/views/nodes/DragBox.tsx | |
| parent | 02119d9fa648ed530d956889a2244875978ad093 (diff) | |
| parent | 1310633790e3db50a31a1cc6d357306d7884a053 (diff) | |
merge
Diffstat (limited to 'src/client/views/nodes/DragBox.tsx')
| -rw-r--r-- | src/client/views/nodes/DragBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DragBox.tsx b/src/client/views/nodes/DragBox.tsx index 1f2c88086..067d47de4 100644 --- a/src/client/views/nodes/DragBox.tsx +++ b/src/client/views/nodes/DragBox.tsx @@ -55,7 +55,7 @@ export class DragBox extends DocComponent<FieldViewProps, DragDocument>(DragDocu let doc = res !== undefined && res.success ? res.result as Doc : Docs.Create.FreeformDocument([], { nativeWidth: undefined, nativeHeight: undefined, width: 150, height: 100, title: "freeform" }); - doc && DragManager.StartDocumentDrag([this._mainCont.current!], new DragManager.DocumentDragData([doc], [undefined]), e.clientX, e.clientY); + doc && DragManager.StartDocumentDrag([this._mainCont.current!], new DragManager.DocumentDragData([doc]), e.clientX, e.clientY); } e.stopPropagation(); e.preventDefault(); |
