Skip to content

Conversation

@sorig
Copy link

@sorig sorig commented Jan 25, 2026

This is a small UI fix for the /setup and /calibrate pages.

The camera preview on those pages is hardcoded to 600x338px, aspect ratio 16:9. My camera's max resolution is 1280x960, aspect ratio 4:3. The preview is therefore cropped. I didn't realise this when setting up my system and I accidentally chose 1280x720 for the camera since there's no difference between the 2 options in the preview.

This PR changes that so the dimensions are read from the camera and the height of the iframe is adjusted accordingly.

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