Repository navigation
fix(receiver): draw the idle screen right way up - #215
Merged
swellweb merged 1 commit intoOct 16, 2026
Merged
Conversation
The status canvas is flipped to a top-left origin, but the idle layout was written for a bottom-left one, so it drew upside down: title and version at the bottom, help lines at the top, each caption under its value. Same layout, measured from the top: every baseline y becomes H - y and every rect top becomes H - y - height. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
|
Thanks for correcting the waiting-screen orientation. I moved this to maint-3.6 and checked it with the centered splash. Rendering at the default 980x620 size exposed an additional existing layout problem: help text overlaps the cards and the permissions section is clipped. I have a small integration follow-up that scales only the idle dashboard, with geometry regression checks from 640x480 through 5K. The video rendering and input paths remain unchanged. |
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Receiver's idle screen draws upside down.
tb_disp_rebuild_status_textureflips the canvas to a top-left origin (CGContextScaleCTM(ctx, 1, -1)), and the connecting screen is laid out for that, but the idle layout was written for a bottom-left origin. The result is visible inimages/receiver-dashboard.pngin this repo: the title and version sit at the bottom, the help lines at the top, and every caption (STATUS, SENDER, DISPLAY, …) is under its value instead of above it.This keeps the same layout and measures it from the top: every text baseline
ybecomesH - y, and every rect's top becomesH - y - height. Fonts, sizes, colours, spacing and content are unchanged.Checks: builds with
make; I rendered the screen to a PNG in English and Chinese and confirmed title and version at the top, captions above values, and the three help lines at the bottom. Updatingimages/receiver-dashboard.pngafterwards would be worthwhile.🤖 Generated with Claude Code