aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-05-02 13:20:27 -0400
committerbob <bcz@cs.brown.edu>2019-05-02 13:20:27 -0400
commit1ece3904b6b3fbf4ddde29e93e31a30f3898e720 (patch)
treef22744b69ada30c0bc72e2942fc93412a5157b0f /src/client/documents/Documents.ts
parent5f8f133040918713ace577cfe82f38254ea07964 (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.ts3
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;