nandi/frqpublic Fork 0
ddebf2a
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Let a call tile fill the slot it was given

The layout was sizing the tiles correctly and the pictures were ignoring
it: a stream narrower than its slot sat at its own width in the middle of
one, so dragging the window wider moved nothing. A tile is a slot, not a
picture at whatever size the camera chose.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
nandi committed 2026-08-30T17:54:15-07:00 Browse files
ddebf2a parent: 16df4e0
modified src/frq/app.jolt +5 -0
@@ -533,7 +533,12 @@
533533 [width key]
534534 (let [mine? (= av/local-feed key)]
535535 [:vbox {:key key :spacing 2}
536+ ;; `:upscale` because a tile is a slot the layout sized, not a picture
537+ ;; sitting at whatever the camera happened to send. Without it a 480-wide
538+ ;; stream draws 480 wide in a 900-point slot and the wall looks broken —
539+ ;; which is exactly what it did.
536540 [:image {:feed key
541+ :upscale true
537542 :max-width width
538543 :max-height (long (* width 0.75))}]
539544 [:dim-label {:label (if mine? "You" key)}]]))
@@ -533,7 +533,12 @@
533 [width key]533 [width key]
534 (let [mine? (= av/local-feed key)]534 (let [mine? (= av/local-feed key)]
535 [:vbox {:key key :spacing 2}535 [:vbox {:key key :spacing 2}
536+ ;; `:upscale` because a tile is a slot the layout sized, not a picture
537+ ;; sitting at whatever the camera happened to send. Without it a 480-wide
538+ ;; stream draws 480 wide in a 900-point slot and the wall looks broken —
539+ ;; which is exactly what it did.
536 [:image {:feed key540 [:image {:feed key
541+ :upscale true
537 :max-width width542 :max-width width
538 :max-height (long (* width 0.75))}]543 :max-height (long (* width 0.75))}]
539 [:dim-label {:label (if mine? "You" key)}]]))544 [:dim-label {:label (if mine? "You" key)}]]))