aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-06-15 23:07:45 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-06-15 23:07:45 -0400
commitb681e584f52a9ffe03c9d93b199b6487e5d1a5e5 (patch)
treecca918c95e2b29ee4bdc90009824b8dad67337b1 /src
parentc3b1877b4d17715416267ff3601cc982ca3b1535 (diff)
fixed dragging within treeview.
Diffstat (limited to 'src')
-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 ab00fabe1..88027a601 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -261,6 +261,7 @@ export namespace DragManager {
// }
// }
let set = dragElement.getElementsByTagName('*');
+ if (dragElement.hasAttribute("style")) (dragElement as any).style.pointerEvents = "none";
for (let i = 0; i < set.length; i++)
if (set[i].hasAttribute("style")) {
let s = set[i];