aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/SidebarAnnos.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-07-05 12:33:28 -0400
committerbobzel <zzzman@gmail.com>2022-07-05 12:33:28 -0400
commit0906eab4135db844dc45a20d33f84e7439461c9b (patch)
tree608deaa7b1bacca054501599ad76b3bc7b997533 /src/client/views/SidebarAnnos.tsx
parent9f89d4d2bd166a189da0c6cce66ac4ebb5682ab5 (diff)
fixed sidebar annos to be editable (with i-beam cursor) when selected and to be active when parent document is active. fixed previewing a sidebar annotation to not open up sidebar
Diffstat (limited to 'src/client/views/SidebarAnnos.tsx')
-rw-r--r--src/client/views/SidebarAnnos.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx
index 9e939aa19..8f73ac2c3 100644
--- a/src/client/views/SidebarAnnos.tsx
+++ b/src/client/views/SidebarAnnos.tsx
@@ -137,6 +137,7 @@ export class SidebarAnnos extends React.Component<FieldViewProps & ExtraProps> {
select={emptyFunction}
scaling={returnOne}
childShowTitle={this.showTitle}
+ childDocumentsActive={this.props.isContentActive}
whenChildContentsActiveChanged={this.props.whenChildContentsActiveChanged}
childHideDecorationTitle={returnTrue}
removeDocument={this.removeDocument}