diff options
author | bobzel <zzzman@gmail.com> | 2020-11-10 12:51:48 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-11-10 12:51:48 -0500 |
commit | 28dccafaa4aa446dd88c1b6f4218a0d7f79fa1bb (patch) | |
tree | c6816ef1d1cb2b2d60359fbe77663f239d9c7785 /src/fields/documentSchemas.ts | |
parent | 83d3756537cfcd8a2248c4b8a2a6f75f77154602 (diff) |
fixed performance issues with background grid by avoiding making really big canvases.
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r-- | src/fields/documentSchemas.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts index 6e58f7f13..e0404d9d3 100644 --- a/src/fields/documentSchemas.ts +++ b/src/fields/documentSchemas.ts @@ -34,6 +34,7 @@ export const documentSchema = createSchema({ _scrollLeft: "number", // scroll position of a scrollable document (pdf, text, web) // appearance properties on the layout + "_backgroundGrid-spacing": "number", // the size of the grid for collection views _autoHeight: "boolean", // whether the height of the document should be computed automatically based on its contents _nativeWidth: "number", // native width of document which determines how much document contents are scaled when the document's width is set _nativeHeight: "number", // " |