diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2020-04-15 14:04:19 -0700 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2020-04-15 14:04:19 -0700 |
commit | 5bd48845753f66f00b520f193d008e3a53fde6e3 (patch) | |
tree | 39e6e7b65377f0e0e821ef1c0d3dcc9258b76b06 | |
parent | 7d3b2880bebf034607b946360c3e08338cf1d115 (diff) | |
parent | eea49c30c0fa8035de63c60e1f4c3d9a29d896f1 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 54e4d549e..e6ae2d801 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -299,7 +299,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu Doc.UnBrushDoc(this.props.Document); } } else if (this.onClickHandler?.script && !StrCast(Doc.LayoutField(this.layoutDoc))?.includes("ScriptingBox")) { // bcz: hack? don't execute script if you're clicking on a scripting box itself - SelectionManager.DeselectAll(); + //SelectionManager.DeselectAll(); const func = () => this.onClickHandler.script.run({ this: this.layoutDoc, self: this.rootDoc, |