diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-05-05 00:57:12 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-05-05 00:57:12 -0400 |
| commit | 9a00685a16ba70f9bed18979508f17f316965045 (patch) | |
| tree | a2028a92548be8a54e3212bfc104943b721445f5 | |
| parent | 7d35ba0df5be5f3c2cd95c0f0d148c0c9c04de7a (diff) | |
from last
| -rw-r--r-- | src/client/views/Main.tsx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index 1a9b1cf3c..617580332 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -174,19 +174,12 @@ export class Main extends React.Component { } }, 100); } - - @computed - get presentationView() { - return <PresentationView key="presentation" />; - } - @computed get mainContent() { let pwidthFunc = () => this.pwidth; let pheightFunc = () => this.pheight; let noScaling = () => 1; let mainCont = this.mainContainer; - let pcontent = this.presentationView; return <Measure onResize={action((r: any) => { this.pwidth = r.entry.width; this.pheight = r.entry.height; })}> {({ measureRef }) => <div ref={measureRef} id="mainContent-div"> @@ -206,7 +199,7 @@ export class Main extends React.Component { whenActiveChanged={emptyFunction} bringToFront={emptyFunction} ContainingCollectionView={undefined} />} - {pcontent} + <PresentationView key="presentation" /> </div> } </Measure>; |
