diff options
author | bob <bcz@cs.brown.edu> | 2019-05-02 13:20:27 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-05-02 13:20:27 -0400 |
commit | 1ece3904b6b3fbf4ddde29e93e31a30f3898e720 (patch) | |
tree | f22744b69ada30c0bc72e2942fc93412a5157b0f /src/client/documents/Documents.ts | |
parent | 5f8f133040918713ace577cfe82f38254ea07964 (diff) |
cleaned up drag code - userDropAction takes precedence over dropAction. default is alias
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 2de389a3c..8706359e4 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -32,6 +32,7 @@ import { IconField } from "../../new_fields/IconField"; import { listSpec } from "../../new_fields/Schema"; import { DocServer } from "../DocServer"; import { StrokeData, InkField } from "../../new_fields/InkField"; +import { dropActionType } from "../util/DragManager"; export interface DocumentOptions { x?: number; @@ -51,7 +52,7 @@ export interface DocumentOptions { templates?: List<string>; viewType?: number; backgroundColor?: string; - copyDraggedItems?: boolean; + dropAction?: dropActionType; backgroundLayout?: string; curPage?: number; documentText?: string; |