Skip to content

Commit 0a1d09e

Browse files
committed
style(client): format app shell
1 parent 28aa33a commit 0a1d09e

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

client/src/app/AppShell.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,12 +1892,10 @@ export function AppShell({
18921892
}
18931893

18941894
function applyZoom(nextScale: number, nextPan?: Point, animate = true) {
1895-
const panForClamp =
1896-
nextPan ??
1897-
{
1898-
x: panRef.current.x,
1899-
y: panRef.current.y + autoViewportOffsetY,
1900-
};
1895+
const panForClamp = nextPan ?? {
1896+
x: panRef.current.x,
1897+
y: panRef.current.y + autoViewportOffsetY,
1898+
};
19011899
const clampedScale = clampZoom(nextScale, fitScale);
19021900
const clampedPan = clampPan(
19031901
panForClamp,

0 commit comments

Comments
 (0)