From 45d4505b5fc7ccdb698da2d2feb1e428144de909 Mon Sep 17 00:00:00 2001 From: Nikita Date: Wed, 31 May 2023 16:20:24 +0300 Subject: [PATCH] =?UTF-8?q?#2719=20=E2=80=93=20Preview=20images=20for=20Fu?= =?UTF-8?q?nctional=20Groups=20and=20Salts=20and=20Solvents=20are=20less?= =?UTF-8?q?=20readable=20(#2724)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ketcher-react/src/script/ui/utils/renderStruct.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ketcher-react/src/script/ui/utils/renderStruct.ts b/packages/ketcher-react/src/script/ui/utils/renderStruct.ts index df61d3a102..df507cbee4 100644 --- a/packages/ketcher-react/src/script/ui/utils/renderStruct.ts +++ b/packages/ketcher-react/src/script/ui/utils/renderStruct.ts @@ -41,6 +41,7 @@ export class RenderStruct { autoScale: true, ...options }) + preparedStruct.rescale() rnd.setMolecule(preparedStruct) if (needCache) { renderCache.set(cacheKey, rnd.clientArea.innerHTML)