diff options
author | madelinegr <mgriswold99@gmail.com> | 2019-06-14 18:24:01 -0400 |
---|---|---|
committer | madelinegr <mgriswold99@gmail.com> | 2019-06-14 18:24:01 -0400 |
commit | 218c8b6476621ef0ffe151014f77bb1d506705a3 (patch) | |
tree | 32685d7033cfed5cb9c539e327f8ec964482c680 /src/client/views/MainView.tsx | |
parent | 19d5016acc3ff058a9665babb202e945c1fac766 (diff) |
Zooming added to presentation, and done
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 3d772916e..f78879efe 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -199,7 +199,10 @@ export class MainView extends React.Component { parentActive={returnTrue} whenActiveChanged={emptyFunction} bringToFront={emptyFunction} - ContainingCollectionView={undefined} />; + ContainingCollectionView={undefined} + zoomToScale={emptyFunction} + getScale={returnOne} + />; let castRes = mainCont ? FieldValue(Cast(mainCont.presentationView, Doc)) : undefined; console.log("GETTING mainContent()"); console.log(castRes instanceof Promise); |