aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PresentationView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/PresentationView.tsx')
-rw-r--r--src/client/views/PresentationView.tsx11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/client/views/PresentationView.tsx b/src/client/views/PresentationView.tsx
index d9d9715fc..081f8533c 100644
--- a/src/client/views/PresentationView.tsx
+++ b/src/client/views/PresentationView.tsx
@@ -58,6 +58,15 @@ export class PresentationView extends React.Component<PresViewProps> {
@observable
collapsed: boolean = false;
+ private ref: React.RefObject<HTMLDivElement>;
+
+ //initilize class variables
+ constructor(props: PresViewProps) {
+ super(props);
+ this.ref = React.createRef()
+ PresentationView.Instance = this;
+ }
+
/**
* Adds a document to the presentation view
**/
@@ -105,7 +114,7 @@ export class PresentationView extends React.Component<PresViewProps> {
if (title && title !== "<Waiting>") {
titleStr = title.Data;
}
- let width = this.collapsed ? 0 : 100;
+ let width = this.collapsed ? 100 : 300;
return (
<div background-color="lightblue" max-width={width}>
<h3>{titleStr}</h3>