Skip to content

fix: synchronize orthographic zoom across VS Code viewers #53

Closed

Description

@Ramlaoui

Follow-up to PR #50 and the review finding.

MatterViz defaults to an orthographic camera and emits camera_zoom on wheel zoom. The viewer's shared camera state currently retains only position and target, so panes with "sync cameras" enabled do not share the same zoom scale.

Carry the zoom value in CameraPose, capture it in on_camera_move, and apply it to each viewer's scene props. Verify reset and toggling sync as well.

Acceptance: wheel-zooming one pane updates the scale of the other synchronized panes; unsynchronized panes remain independent.

Explicitly deferred from PR #50 at the user's request. Rotation/panning sync remains available; zoom must currently be adjusted per pane.

Activity

  1. added a commit that references this issue on Sep 30, 2026
    05610e5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions