Skip to content

feat: link review camera and fix review leftovers - #33

Merged
little-did-I-know merged 1 commit into
mainfrom
fix/review-minors-camera-link
Oct 28, 2026
Merged

little-did-I-know merged 1 commit into
mainfrom
fix/review-minors-camera-link

Conversation

@little-did-I-know

Copy link
Copy Markdown
Owner

Summary

  • Linked cameras: orbit, pan and zoom on either review 3D view are mirrored on the other (mouse, wheel, touch). Always on.
  • One shared background-clear method on the viewer, replacing the duplicated clear-colour constants.
  • Review text list redraws on window resize.
  • Focus returns to the previously focused element when the review closes.
  • Overlapping file loads are counted (pendingLoads) instead of sharing one boolean.
  • Merged the duplicate .review-list CSS rule.

Follow-up to #32. Not changed: .review-btn-primary hardcoded #000 (matches the Export button) and the cached original-file parse (speeds up reopening, replaced on the next load).

Test plan

  • npm test passes (377 of 377)
  • Browser check: orbit on one view and zoom on the other keep both cameras equal; focus returns to Export after closing; no console errors; pendingLoads returns to 0
  • Manual pass exporting a few real sliced files and comparing the review with the downloaded file

Mirror orbit/pan/zoom between the before and after review views.
Share one background-clear method, redraw the text list on resize,
restore focus when the review closes, count overlapping file loads
instead of using one boolean, and merge the duplicate .review-list rule.
@little-did-I-know
little-did-I-know merged commit a486ec4 into main Oct 28, 2026
2 checks passed
@little-did-I-know
little-did-I-know deleted the fix/review-minors-camera-link branch October 28, 2026 23:30
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