From 5149af536236d7759be06a676517c6cff71f3c64 Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Sun, 17 Mar 2019 00:26:13 -0400 Subject: back to the original version --- src/client/views/Main.tsx | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index a128a0e73..fa8875d66 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -114,24 +114,15 @@ Documents.initProtos(mainDocId, (res?: Document) => { ReactDOM.render((
{/*
— DASH —
*/} - { - mainDocFrame.pwidth = r.entry.width; - mainDocFrame.pheight = r.entry.height; - }}> - {({ measureRef }) => -
- Transform.Identity} - ContentScaling={() => 1} - PanelWidth={() => mainDocFrame.pwidth} - PanelHeight={() => mainDocFrame.pheight} - isTopMost={true} - SelectOnLoad={false} - focus={() => { }} - ContainingCollectionView={undefined} /> -
- } -
+ Transform.Identity} + ContentScaling={() => 1} + PanelWidth={() => 0} + PanelHeight={() => 0} + isTopMost={true} + SelectOnLoad={false} + focus={() => { }} + ContainingCollectionView={undefined} /> -- cgit v1.2.3-70-g09d2