aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/LightboxView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-03-24 03:50:41 -0400
committerbobzel <zzzman@gmail.com>2021-03-24 03:50:41 -0400
commit8f8a12f6e81482d6cbc4789c3b7f74015f33f423 (patch)
treed4c04e95018c1cc1fa4ae66b2b568742d00ae3e9 /src/client/views/LightboxView.tsx
parentccdef5784dd963b71f493116d87786c0b0a787d2 (diff)
fixes for audiotags so that they can be navigated to when focusing. fixes to dictation to start/stop properly. added "RecodingEvents" to trigger dictation waypoints.
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r--src/client/views/LightboxView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx
index 48b8ca341..5715b62b0 100644
--- a/src/client/views/LightboxView.tsx
+++ b/src/client/views/LightboxView.tsx
@@ -116,7 +116,8 @@ export class LightboxView extends React.Component<LightboxViewProps> {
const target = LightboxView._docTarget = LightboxView._future?.pop();
const docView = target && DocumentManager.Instance.getLightboxDocumentView(target);
if (docView && target) {
- DocUtils.MakeLinkToActiveAudio(target);
+ const l = DocUtils.MakeLinkToActiveAudio(target);
+ l && (Cast(l.anchor2, Doc, null).backgroundColor = "lightgreen");
docView.focus(target, { originalTarget: target, willZoom: true, scale: 0.9 });
if (LightboxView._history?.lastElement().target !== target) LightboxView._history?.push({ doc, target });
} else {