diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-16 11:24:57 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-16 11:24:57 -0400 |
commit | 2f22e7006b663f7014d0ae1336ec0f81faa6cd14 (patch) | |
tree | 1958a3f4806b7480d6a18d4df30c883b54d5ce9e /src/client/documents/Documents.ts | |
parent | 21284a84b6d9930b5ddfddaa600b6916613748c4 (diff) |
made fitWidth the default for PDFs
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index b57f4c6c7..5b58aa2e3 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -979,6 +979,7 @@ export namespace DocUtils { } if (type.indexOf("pdf") !== -1) { ctor = Docs.Create.PdfDocument; + if (!options._fitWidth) options._fitWidth = true; if (!options._width) options._width = 400; if (!options._height) options._height = options._width * 1200 / 927; } |