aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-03-11 16:56:36 -0400
committerbob <bcz@cs.brown.edu>2019-03-11 16:56:36 -0400
commit618e66a5a070f1aac9224bd3f44b76a5ac314bfa (patch)
treea58c09879cd75c4b0b544f5c8d59de52a32043c7 /src/client/util/DragManager.ts
parentfaf0cc17a47aacaef48b4fe18c2f52af0a360805 (diff)
fixed dragging of link button. made web views clips. added delete on marquee.
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 0dcaa9c77..4a61220a5 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -99,6 +99,7 @@ export namespace DragManager {
export function StartDrag(ele: HTMLElement, dragData: { [id: string]: any }, options?: DragOptions) {
if (!dragDiv) {
dragDiv = document.createElement("div");
+ dragDiv.className = "dragManager-dragDiv"
DragManager.Root().appendChild(dragDiv);
}
const w = ele.offsetWidth, h = ele.offsetHeight;