diff options
author | Fawn <fangrui_tong@brown.edu> | 2019-07-24 17:48:11 -0400 |
---|---|---|
committer | Fawn <fangrui_tong@brown.edu> | 2019-07-24 17:48:11 -0400 |
commit | 75070c4c2188823ed9a09816861d4f873574c9db (patch) | |
tree | f97f83b7cb51c32cd540fbfcc1f75d60c2aae681 /src/client/util/DragManager.ts | |
parent | 07e4ad670134213afc019bf84f765cdfc00a510a (diff) |
can move rows within expanded collection
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index f9f6b05c0..0299b1d90 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -1,6 +1,6 @@ import { action, runInAction } from "mobx"; import { Doc } from "../../new_fields/Doc"; -import { Cast } from "../../new_fields/Types"; +import { Cast, StrCast } from "../../new_fields/Types"; import { URLField } from "../../new_fields/URLField"; import { emptyFunction } from "../../Utils"; import { CollectionDockingView } from "../views/collections/CollectionDockingView"; @@ -305,7 +305,7 @@ export namespace DragManager { StartDrag([ele], dragData, downX, downY, options); } - export function StartColumnDrag(ele: HTMLElement, dragData: ColumnDragData, downX: number, downY: number, options?:DragOptions) { + export function StartColumnDrag(ele: HTMLElement, dragData: ColumnDragData, downX: number, downY: number, options?: DragOptions) { StartDrag([ele], dragData, downX, downY, options); } |