diff options
| author | bob <bcz@cs.brown.edu> | 2019-05-20 12:20:57 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-05-20 12:20:57 -0400 |
| commit | e5d71fc1362c77f076c10187625c74fe294669aa (patch) | |
| tree | 90b5203cc31481e84a4da6d8f5f2e0b38ba4894e /src/client/views/collections/collectionFreeForm | |
| parent | baa57bae05df83c37e4573b7afb92948fc6e910b (diff) | |
fixes to caching. lower quality Summary images.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx index 2029b91e5..6ea230aab 100644 --- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx +++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx @@ -257,7 +257,7 @@ export class MarqueeView extends React.Component<MarqueeViewProps> if (e.key === "s" || e.key === "p") { - htmlToImage.toPng(this._mainCont.current!, { width: bounds.width * zoomBasis, height: bounds.height * zoomBasis, quality: 1 }).then((dataUrl) => { + htmlToImage.toPng(this._mainCont.current!, { width: bounds.width * zoomBasis, height: bounds.height * zoomBasis, quality: 0.2 }).then((dataUrl) => { selected.map(d => { this.props.removeDocument(d); d.x = NumCast(d.x) - bounds.left - bounds.width / 2; |
