diff options
author | Noma <thu_vu@brown.edu> | 2025-03-21 15:21:52 -0400 |
---|---|---|
committer | Noma <thu_vu@brown.edu> | 2025-03-21 15:21:52 -0400 |
commit | 742d05defaa3612933adf5bf8cd6afa4f0c1de93 (patch) | |
tree | 6aa796206f7ea35ea8ab61be9b7d11c897ef7fdf /src/client/views/collections/CollectionStackingView.tsx | |
parent | 10c9ef174be25a821900185e762ab1cc3e48df18 (diff) | |
parent | 09c9a21a3c49c831a007afc1e5ffaa04e2282589 (diff) |
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 6bbd43b1b..392d85af3 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -404,7 +404,7 @@ export class CollectionStackingView extends CollectionSubView<Partial<collection const { translateX, translateY, scale } = ClientUtils.GetScreenTransform(dref?.ContentDiv); return new Transform(-translateX + (dref?.centeringX || 0) * scale, -translateY + (dref?.centeringY || 0) * scale, 1) - .scale(1 / scale); // prettier-ignore + .scale(1 / (scale||1)); // prettier-ignore }); getDocWidth = computedFn((d?: Doc) => () => { if (!d) return 0; |