aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFMenu.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-01-19 15:02:03 -0500
committerbobzel <zzzman@gmail.com>2021-01-19 15:02:03 -0500
commit8538a83baf57d7015b62b4ebc22d2bd7318f9d16 (patch)
tree7791f2514df785a3a14cf866e7ba47305be88526 /src/client/views/pdf/PDFMenu.tsx
parent28bed25b20f2882cb40e616e2ecdd7cf0793e105 (diff)
fixed isPushpin annotation behavior outside of PDFs. fixed link follow highlighting to go away when target is hidden.
Diffstat (limited to 'src/client/views/pdf/PDFMenu.tsx')
-rw-r--r--src/client/views/pdf/PDFMenu.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/pdf/PDFMenu.tsx b/src/client/views/pdf/PDFMenu.tsx
index 1f8872e3d..603e26021 100644
--- a/src/client/views/pdf/PDFMenu.tsx
+++ b/src/client/views/pdf/PDFMenu.tsx
@@ -39,7 +39,7 @@ export class PDFMenu extends AntimodeMenu<AntimodeMenuProps> {
@observable public _colorBtn = false;
@observable public Highlighting: boolean = false;
- @observable public Status: "pdf" | "annotation" | "" = "";
+ @observable public Status: "marquee" | "annotation" | "" = "";
public StartDrag: (e: PointerEvent, ele: HTMLElement) => void = unimplementedFunction;
public Highlight: (color: string) => Opt<Doc> = (color: string) => undefined;
@@ -119,7 +119,7 @@ export class PDFMenu extends AntimodeMenu<AntimodeMenuProps> {
}
render() {
- const buttons = this.Status === "pdf" ?
+ const buttons = this.Status === "marquee" ?
[
this.highlighter,