Repository navigation
Enable Builds and Alternative Resolutions - #31
Merged
Merged
Conversation
Add the TrimUI Brick's 1024x768 panel to NATIVE_FULLSCREEN_SIZES so fullscreen on that device uses the full panel as the logical canvas, instead of a 640x480 canvas letterboxed at 1x in the middle of the screen. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GEZu8Ntc8MaursMWzKVWcD
The Brick's 1024x768 panel is exactly 1.6x the 640x480 logical canvas and shares its 4:3 aspect ratio, but the default integer_scaling setting floored that to 1x, leaving the UI tiny with huge black borders. Detect when the display's aspect ratio exactly matches the canvas (no cropping/distortion risk) and scale to fill it exactly, even though 1.6x isn't a whole number, instead of treating the Brick as a native-resolution panel with unscaled (and much smaller) UI. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GEZu8Ntc8MaursMWzKVWcD
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.
Enabling different resolutions for different handheld devices.
I've tested now with the RGB30, Trim UI Brick, 35XX Plus and 34XX SP