aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/presentationview/PresElementBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-10-21 23:09:41 -0400
committerbobzel <zzzman@gmail.com>2020-10-21 23:09:41 -0400
commitfb918c91e9c7533868601c6d3e23687b5dccf1df (patch)
tree5e36aebf7cdd0b27ca13bef535645253dfb1c9ea /src/client/views/presentationview/PresElementBox.tsx
parenta4321991ae32044be01606f0f2635468edc3887e (diff)
fixed warnings. fixed pinning of multiple documents at the same time to bring up the presentation view just once.
Diffstat (limited to 'src/client/views/presentationview/PresElementBox.tsx')
-rw-r--r--src/client/views/presentationview/PresElementBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/presentationview/PresElementBox.tsx b/src/client/views/presentationview/PresElementBox.tsx
index 33b67ae69..6ebb7d623 100644
--- a/src/client/views/presentationview/PresElementBox.tsx
+++ b/src/client/views/presentationview/PresElementBox.tsx
@@ -266,7 +266,7 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps, PresDoc
@computed
get toolbarWidth(): number {
- const presBoxDocView = DocumentManager.Instance.getDocumentView(this.presBox)
+ const presBoxDocView = DocumentManager.Instance.getDocumentView(this.presBox);
let width: number = NumCast(this.presBox._width);
if (presBoxDocView) width = presBoxDocView.props.PanelWidth();
return width;