aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-10-03 13:19:14 -0400
committerbobzel <zzzman@gmail.com>2022-10-03 13:19:14 -0400
commit31ac3ec644547bd4a3450820f9a69ebcfd17661e (patch)
treedd538e4856afadc3121859a7882b7794ef75a9fa /src/client/views/collections
parent4580a4193edb451f628eee8be2d3c31d06b1a3a7 (diff)
fixed client crash on text menu for ink strokes. fixed circle rubber banding. fixed vertical position of text in ink stroke
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/collectionLinear/CollectionLinearView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionLinear/CollectionLinearView.tsx b/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
index f6eb2fce4..92f6bbb64 100644
--- a/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
+++ b/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
@@ -208,7 +208,7 @@ export class CollectionLinearView extends CollectionSubView() {
checked={BoolCast(this.props.Document.linearViewIsExpanded)}
ref={this.addMenuToggle}
onChange={action(e => {
- ScriptCast(this.Document.onClick).script.run({
+ ScriptCast(this.Document.onClick)?.script.run({
this: this.layoutDoc,
self: this.rootDoc,
_readOnly_: false,