diff options
| author | bobzel <zzzman@gmail.com> | 2025-03-20 14:34:32 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-03-20 14:34:32 -0400 |
| commit | 58a80118b8b219417e4b22839b1d2bde197b0eb6 (patch) | |
| tree | 8650123ecc0031541061a40470a98e99d58801fe /src/client/views/collections/CollectionStackingView.tsx | |
| parent | 2571cc0130efd2592c426cdb528e5083a4bc8eab (diff) | |
mapbox cleanup. fix runtime warnings for stacking view.
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; |
