aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-04-28 12:13:44 -0400
committerbobzel <zzzman@gmail.com>2022-04-28 12:13:44 -0400
commit59a22f3a007b201e68ac2f3e1d62e0ca5e66488a (patch)
tree37ecac13872202fbf5872f27163c69e6c7e565a0 /src/client/views/nodes/PDFBox.tsx
parent778432158e5f0bcdcb2e68ff6872a5c9335ef3af (diff)
fixed feedback dragging link button. fixed warnings. added some assymetric linkRelationships.
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index b556b0ef1..668c6c8fc 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -160,11 +160,11 @@ export class PDFBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
public backPage = () => {
this.Document._curPage = Math.max(1, (NumCast(this.Document._curPage) || 1) - 1);
return true;
- };
+ }
public forwardPage = () => {
this.Document._curPage = Math.min(NumCast(this.dataDoc[this.props.fieldKey + "-numPages"]), (NumCast(this.Document._curPage) || 1) + 1);
return true;
- };
+ }
public gotoPage = (p: number) => this.Document._curPage = p;
@undoBatch