diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-22 14:12:41 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-22 14:12:41 -0500 |
| commit | b9326dfc3e15683190a7d520daca6791ef049dea (patch) | |
| tree | c46e65d7c0ade4c3404331be269c0cff90e8d1cc /src/client/views/MarqueeAnnotator.tsx | |
| parent | 78dd6b82033961a06dfb3ad3218763fa4c08d761 (diff) | |
fixed up videoBox timeline. changed video annotations to use displayTimecode and undisplayTimecode
Diffstat (limited to 'src/client/views/MarqueeAnnotator.tsx')
| -rw-r--r-- | src/client/views/MarqueeAnnotator.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/MarqueeAnnotator.tsx b/src/client/views/MarqueeAnnotator.tsx index 0ab2d1ecf..8ef69802b 100644 --- a/src/client/views/MarqueeAnnotator.tsx +++ b/src/client/views/MarqueeAnnotator.tsx @@ -163,13 +163,13 @@ export class MarqueeAnnotator extends React.Component<MarqueeAnnotatorProps> { const target = CurrentUserUtils.GetNewTextDoc("Note linked to " + this.props.rootDoc.title, 0, 0, 100, 100); FormattedTextBox.SelectOnLoad = target[Id]; return target; - } + }; const anchorCreator = () => { const annoDoc = this.highlight("rgba(173, 216, 230, 0.75)"); // hyperlink color annoDoc.isLinkButton = true; // prevents link button from showing up --- maybe not a good thing? this.props.addDocument(annoDoc); return annoDoc; - } + }; DragManager.StartAnchorAnnoDrag([ele], new DragManager.AnchorAnnoDragData(this.props.rootDoc, anchorCreator, targetCreator), e.pageX, e.pageY, { dragComplete: e => { if (!e.aborted && e.annoDragData && e.annoDragData.annotationDocument && e.annoDragData.dropDocument && !e.linkDocument) { |
