aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-01 15:38:22 -0400
committerbobzel <zzzman@gmail.com>2023-11-01 15:38:22 -0400
commit58213b0201ea0191f06f42beac9c3a17ebfc98ea (patch)
tree293ad3cdf29b8d43b85cc841018611133fb70283 /src/client/views/collections/collectionLinear/CollectionLinearView.tsx
parente00122142a0e5960bd5c0ff2dfda5ea807eb5e2f (diff)
fixed so that ink properties can be set before drawing a stroke. fixed turning off ink when menu is collapsed. added meta-click to fit all for collections, or zoom in on a document.
Diffstat (limited to 'src/client/views/collections/collectionLinear/CollectionLinearView.tsx')
-rw-r--r--src/client/views/collections/collectionLinear/CollectionLinearView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionLinear/CollectionLinearView.tsx b/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
index faf7501c4..9a2c79a22 100644
--- a/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
+++ b/src/client/views/collections/collectionLinear/CollectionLinearView.tsx
@@ -215,6 +215,7 @@ export class CollectionLinearView extends CollectionSubView() {
toggleStatus={BoolCast(this.layoutDoc.linearView_IsOpen)}
onClick={() => {
this.layoutDoc.linearView_IsOpen = !isExpanded;
+ ScriptCast(this.rootDoc.onClick)?.script.run({ this: this.rootDoc }, console.log);
}}
tooltip={isExpanded ? 'Close' : 'Open'}
fillWidth={true}