Skip to content

Fix camera and floorplan navigation sync#387

Merged
wass08 merged 1 commit into
mainfrom
fix/camera-floorplan-sync
Jun 9, 2026
Merged

Fix camera and floorplan navigation sync#387
wass08 merged 1 commit into
mainfrom
fix/camera-floorplan-sync

Conversation

@wass08

@wass08 wass08 commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • keep WASD camera pan on camera-controls truck/forward paths so it composes with active mouse rotation
  • rotate 2D-originated camera sync to the nearest equivalent azimuth for shortest north alignment
  • reconcile clamped 3D zoom/distance back into 2D floorplan sync and let 3D-originated sync apply exact view widths

Tests

  • bun --filter @pascal-app/editor check-types
  • bun --filter editor check-types
  • bun biome check packages/editor/src/components/editor/custom-camera-controls.tsx packages/editor/src/components/editor/floorplan-panel.tsx
  • git diff --check

@mintlify

mintlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
pascal 🔴 Failed Jun 9, 2026, 12:31 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@wass08 wass08 merged commit b620c9d into main Jun 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant