diff options
author | bob <bcz@cs.brown.edu> | 2019-04-08 18:07:13 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-08 18:07:13 -0400 |
commit | a72fcdd0ebc06a3c851007c6ed89ab13a9a0d835 (patch) | |
tree | a7f7d017f85566ce70a35cff748a26624339fc08 /src/client/util/DragManager.ts | |
parent | 3a9f6df918ad45e55b0c6a540cb566aff4940288 (diff) |
fixed up a bunch of small things + started on text wackiness.
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index c1919093e..0ee7ed2b3 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -1,7 +1,5 @@ import { action } from "mobx"; import { Document } from "../../fields/Document"; -import { ImageField } from "../../fields/ImageField"; -import { KeyStore } from "../../fields/KeyStore"; import { CollectionDockingView } from "../views/collections/CollectionDockingView"; import { CollectionView } from "../views/collections/CollectionView"; import { DocumentDecorations } from "../views/DocumentDecorations"; @@ -18,6 +16,7 @@ export function setupDrag( e.stopPropagation(); e.preventDefault(); + // TODO: bcz -- this needs to have a drag threshold so that it doesn't trigger when just selecting. document.removeEventListener("pointermove", onRowMove); document.removeEventListener("pointerup", onRowUp); var dragData = new DragManager.DocumentDragData([docFunc()]); |