diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-21 10:22:51 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-21 10:22:51 -0500 |
| commit | b3e2520f81a9956320b1aeba14ea880aa2887b15 (patch) | |
| tree | 68dc175c93454d0eb520852228bcb5b810890dba /src/client/views/DocumentButtonBar.tsx | |
| parent | cfeaa00ebec604f69cf2559809ed19abe126411f (diff) | |
fixed fitWidth for WebBox
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
| -rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index a2bd0aad9..eeef94d74 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -155,7 +155,7 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV e.preventDefault(); let googleDoc = await Cast(dataDoc.googleDoc, Doc); if (!googleDoc) { - const options = { _width: 600, _fitWidth: true, _nativeWidth: 960, _nativeHeight: 800, isAnnotating: false, useCors: false }; + const options = { _width: 600, _nativeWidth: 960, _nativeHeight: 800, isAnnotating: false, useCors: false }; googleDoc = Docs.Create.WebDocument(googleDocUrl, options); dataDoc.googleDoc = googleDoc; } |
