From f71d5693bb2c7e79e459a97d9a855cd0542dd7e9 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 25 Jan 2024 00:05:31 -0500 Subject: fixed script typechecking which fixes editing keyvalue pane. renamed contentPointerEvents to childContentPointerEvents to match what it does. --- src/client/views/nodes/DocumentContentsView.tsx | 2 +- src/client/views/nodes/DocumentView.tsx | 1 + src/client/views/nodes/FieldView.tsx | 2 +- src/client/views/nodes/trails/PresBox.tsx | 1 - 4 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/views/nodes') diff --git a/src/client/views/nodes/DocumentContentsView.tsx b/src/client/views/nodes/DocumentContentsView.tsx index d1e141061..07e179246 100644 --- a/src/client/views/nodes/DocumentContentsView.tsx +++ b/src/client/views/nodes/DocumentContentsView.tsx @@ -151,7 +151,7 @@ export class DocumentContentsView extends ObservableReactComponent {this.layoutDoc.layout_hideAllLinks ? null : this.allLinkEndpoints()} diff --git a/src/client/views/nodes/FieldView.tsx b/src/client/views/nodes/FieldView.tsx index 719ccdcfc..8a49b4757 100644 --- a/src/client/views/nodes/FieldView.tsx +++ b/src/client/views/nodes/FieldView.tsx @@ -40,9 +40,9 @@ export type StyleProviderFuncType = (doc: Opt, props: Opt, // export interface FieldViewSharedProps { Document: Doc; + TemplateDataDocument?: Doc; LayoutTemplateString?: string; LayoutTemplate?: () => Opt; - TemplateDataDocument?: Doc; renderDepth: number; scriptContext?: any; // can be assigned anything and will be passed as 'scriptContext' to any OnClick script that executes on this document xPadding?: number; diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index 667bc2f5c..9e5ea9524 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -2607,7 +2607,6 @@ export class PresBox extends ViewBoxBaseComponent() { ignoreUnrendered={true} childDragAction="move" setContentViewBox={emptyFunction} - hideClickBehaviors={true} //childLayoutFitWidth={returnTrue} childOpacity={returnOne} childClickScript={PresBox.navigateToDocScript} -- cgit v1.2.3-70-g09d2