Skip to content

fix(viewer): keep the standing foldable inside the window - #79

Merged
Mastersam07 merged 1 commit into
devfrom
fix/standing-device-framing
Sep 27, 2026
Merged

Mastersam07 merged 1 commit into
devfrom
fix/standing-device-framing

Conversation

@Mastersam07

@Mastersam07 Mastersam07 commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

What: Between about 45 and 10 degrees the foldable stands almost on edge and is taller than the open device the framing is held from, so it touched the top and bottom of the window, posed directly by a pinch or part way through a move. The framing now checks how much of the picture the device covers after centring and backs the camera off until it covers no more than 0.98, aiming at 0.95. A device cut off by the picture's edge measures as exactly full, so a clipped look is sized again from twice the distance. A move samples the stretch below 50 degrees every five degrees, one look each and cached per window size, and walks the camera's distance along with its position, so the standing poses mid move fit too. The presets keep the framing they had.

Closes #71.

Follow-ups: None.

Between about 45 and 10 degrees the device stands almost on edge and is taller than the open device the framing is held from, so it touched the top and bottom of the window, posed directly or mid move. The framing now checks the fill after centring and backs the camera off until the device covers no more than 0.98 of the picture; a clipped look is sized again from twice as far, and a move samples the standing band every five degrees so its path fits too. The presets keep their framing.
@Mastersam07
Mastersam07 merged commit 1a333e9 into dev Sep 27, 2026
2 checks passed
@Mastersam07
Mastersam07 deleted the fix/standing-device-framing branch September 27, 2026 16:37
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.

Keep the standing foldable inside the window between 45 and 10 degrees

1 participant