aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/SidebarAnnos.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-29 13:20:14 -0400
committerbobzel <zzzman@gmail.com>2021-03-29 13:20:14 -0400
commitfa6aa3f3d13cade1cd46d954dbfee6f8566bcc86 (patch)
tree9c4b8d3d15134db833af87ce6b427fa643a3d6c9 /src/client/views/SidebarAnnos.tsx
parenta1a9803096adde0cd932e703080948ef1d1724f7 (diff)
initial changes to cleanup pointer events.
Diffstat (limited to 'src/client/views/SidebarAnnos.tsx')
-rw-r--r--src/client/views/SidebarAnnos.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx
index 6b0b928b3..d3216bc94 100644
--- a/src/client/views/SidebarAnnos.tsx
+++ b/src/client/views/SidebarAnnos.tsx
@@ -23,7 +23,7 @@ interface ExtraProps {
rootDoc: Doc;
dataDoc: Doc;
annotationsActive: (outsideReaction: boolean) => boolean;
- whenActiveChanged: (isActive: boolean) => void;
+ whenChildContentsActiveChanged: (isActive: boolean) => void;
ScreenToLocalTransform: () => Transform;
sidebarAddDocument: (doc: (Doc | Doc[]), suffix: string) => boolean;
removeDocument: (doc: (Doc | Doc[]), suffix: string) => boolean;
@@ -122,7 +122,7 @@ export class SidebarAnnos extends React.Component<FieldViewProps & ExtraProps> {
select={emptyFunction}
active={this.props.annotationsActive}
scaling={returnOne}
- whenActiveChanged={this.props.whenActiveChanged}
+ whenChildContentsActiveChanged={this.props.whenChildContentsActiveChanged}
childHideDecorationTitle={returnTrue}
removeDocument={this.removeDocument}
moveDocument={this.moveDocument}