Skip to content

Commit

Permalink
#2719 – Preview images for Functional Groups and Salts and Solvents a…
Browse files Browse the repository at this point in the history
…re less readable (#2724)
  • Loading branch information
Nitvex authored May 31, 2023
1 parent cc40113 commit 45d4505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ketcher-react/src/script/ui/utils/renderStruct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export class RenderStruct {
autoScale: true,
...options
})
preparedStruct.rescale()
rnd.setMolecule(preparedStruct)
if (needCache) {
renderCache.set(cacheKey, rnd.clientArea.innerHTML)
Expand Down

0 comments on commit 45d4505

Please sign in to comment.