diff options
author | bob <bcz@cs.brown.edu> | 2019-05-13 16:21:28 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-05-13 16:21:28 -0400 |
commit | 3be42131bc08024f06e0daec8d09e45bf3f1ddab (patch) | |
tree | 4ed0606fb7439f1b6c9f70b128f9e89f80ad5f4c /src/client/util/DragManager.ts | |
parent | 48b0f98ea2519d861a0eecee541dc0986a2c2f12 (diff) |
a bunch of fixes to schemas, marquees, and an experimental feature to set a document's data with linking UI
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 2da0d5b51..26da34e67 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -105,7 +105,8 @@ export namespace DragManager { constructor( readonly x: number, readonly y: number, - readonly data: { [id: string]: any } + readonly data: { [id: string]: any }, + readonly mods: string ) { } } @@ -334,7 +335,8 @@ export namespace DragManager { detail: { x: e.x, y: e.y, - data: dragData + data: dragData, + mods: e.ctrlKey ? "Control" : "" } }) ); |