diff --git a/src/objects/viewport.ts b/src/objects/viewport.ts index cb92e3cf..29721aed 100644 --- a/src/objects/viewport.ts +++ b/src/objects/viewport.ts @@ -37,6 +37,9 @@ export async function startViewport(): Promise { .decelerate({ friction: 0.9, }) + .clampZoom({ + minWidth: stage.clientWidth / 2, + }) application.stage.addChild(viewport)