diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-13 22:42:41 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-13 22:42:41 -0500 |
| commit | f79e47041928648d0ad9ffb93ef053bde98c1622 (patch) | |
| tree | 96790b59249253cc81573b146c02122489062cbe /src/client/views/nodes/DocumentView.tsx | |
| parent | 4e1df78c6d94fabd949113801261150de8ed686c (diff) | |
fixed videobox focus issues when following a link so that video is focused in frame before annotation is focused.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 7ba0d7043..9801de1a2 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -645,6 +645,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps onClicks.push({ description: "Enter Portal", event: this.makeIntoPortal, icon: "window-restore" }); onClicks.push({ description: "Toggle Detail", event: () => this.Document.onClick = ScriptField.MakeScript(`toggleDetail(self, "${this.Document.layoutKey}")`), icon: "concierge-bell" }); + onClicks.push({ description: (this.Document.followLinkZoom ? "Don't" : "") + " zoom following link", event: () => this.Document.followLinkZoom = !this.Document.followLinkZoom, icon: this.Document.ignoreClick ? "unlock" : "lock" }); if (!this.Document.annotationOn) { const options = cm.findByDescription("Options..."); |
