diff options
author | bobzel <zzzman@gmail.com> | 2021-01-15 15:27:16 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-01-15 15:27:16 -0500 |
commit | ba3bcbbf3f0ce8769acb6e84ac3aa8ac3a5c9694 (patch) | |
tree | 6fe66f348d6cbab554bcace9a4c93f1558e263b2 /src/client/views/nodes/DocumentView.tsx | |
parent | 4eb2de2c53280104fc809bbd387ed97460312e69 (diff) |
fixed more issues with audio Box - simplified decorations when selected. fixed dragging when not selected. added esc to stop dragging.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-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 131e33e2a..6371ae5fb 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -416,7 +416,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps } else func(); }; if (this.onDoubleClickHandler) { - this._timeout = setTimeout(() => { this._timeout = undefined; clickFunc(); }, 500); + this._timeout = setTimeout(() => { this._timeout = undefined; clickFunc(); }, 350); } else clickFunc(); } else if (this.Document["onClick-rawScript"] && !StrCast(Doc.LayoutField(this.layoutDoc))?.includes("ScriptingBox")) {// bcz: hack? don't edit a script if you're clicking on a scripting box itself this.props.addDocTab(DocUtils.makeCustomViewClicked(Doc.MakeAlias(this.props.Document), undefined, "onClick"), "add:right"); |