From 4b699bd0ded39983227d11e75c8d187546190f00 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 23 Mar 2021 16:05:52 -0400 Subject: changed audio/video to use playFrom() viewbox method instead of audioTrigger/videoTrigger doc field. added a preliminiary form of transcription to screenshot boxes. --- src/client/views/SidebarAnnos.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/client/views/SidebarAnnos.tsx') diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx index a859dcab4..87887483f 100644 --- a/src/client/views/SidebarAnnos.tsx +++ b/src/client/views/SidebarAnnos.tsx @@ -71,7 +71,7 @@ export class SidebarAnnos extends React.Component { filtersHeight = () => 50; screenToLocalTransform = () => this.props.ScreenToLocalTransform().translate(Doc.NativeWidth(this.props.dataDoc), 0).scale(this.props.scaling?.() || 1); panelWidth = () => !this.props.layoutDoc._showSidebar ? 0 : (NumCast(this.props.layoutDoc.nativeWidth) - Doc.NativeWidth(this.props.dataDoc)) * this.props.PanelWidth() / NumCast(this.props.layoutDoc.nativeWidth); - panelHeight = () => this.props.PanelHeight() - this.filtersHeight() - 20; + panelHeight = () => this.props.PanelHeight() - this.filtersHeight(); addDocument = (doc: Doc | Doc[]) => this.props.sidebarAddDocument(doc, this.sidebarKey()); moveDocument = (doc: Doc | Doc[], targetCollection: Doc | undefined, addDocument: (doc: Doc | Doc[]) => boolean) => this.props.moveDocument(doc, targetCollection, addDocument, this.sidebarKey()); removeDocument = (doc: Doc | Doc[]) => this.props.removeDocument(doc, this.sidebarKey()); @@ -103,6 +103,10 @@ export class SidebarAnnos extends React.Component { width: `${this.panelWidth()}px`, height: "100%" }}> +
+ {this.allUsers.map(renderUsers)} + {this.allHashtags.map(renderTag)} +
{ pointerEvents={"all"} />
-
- {this.allUsers.map(renderUsers)} - {this.allHashtags.map(renderTag)} -
; } } \ No newline at end of file -- cgit v1.2.3-70-g09d2