aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-15 16:55:05 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-15 16:55:05 -0400
commiteea49c30c0fa8035de63c60e1f4c3d9a29d896f1 (patch)
treebf6fbc0330ec55ead9e509043fde004d89142324 /src
parent4d1782cbb359de2b672786df24985fbcf4be238a (diff)
fixed changing cursor location in title text in tree views nested in freeform collecftions
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
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,