Skip to content

Commit d37f0c7

Browse files
committed
Constrain camera movement to XZ plane
1 parent 40df9a8 commit d37f0c7

File tree

1 file changed

+2
-0
lines changed
  • packages/handle/src/screen

1 file changed

+2
-0
lines changed

packages/handle/src/screen/map.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ export class MapHandles {
6060
this.getCamera,
6161
filterForOnePointerLeftClick,
6262
defaultMapHandlesScreenCameraApply,
63+
1,
64+
'xz',
6365
)
6466
this.zoom = new ZoomScreenHandleStore(store, this.getCamera, undefined, defaultMapHandlesScreenCameraApply)
6567
}

0 commit comments

Comments
 (0)