Footswitch rewrite (more vertical space, bugfixes)#178
Open
sastraxi wants to merge 16 commits into
Open
Conversation
# Conflicts: # tests/snapshots/test_lcd320x240/test_system_menu_snapshot/0.png # tests/snapshots/v3/test_startup/test_v3_nav_to_system_menu/0.png # uilib/config.py
Replace the full-width top accent bar with a keycap outline (rounded top corners, open bottom) hugging the centered label. Add ShroudedPanel and apply a translucent dark overlay to the bottom footswitch panel. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
# Conflicts: # pistomp/lcd320x240.py # tests/snapshots/test_lcd320x240/test_system_menu_snapshot/0.png # tests/snapshots/v3/test_startup/test_v3_nav_to_system_menu/0.png
Erase the previously drawn keycap on single-widget refresh so a narrower label no longer leaves ghost pixels from a wider one, giving a consistent black backdrop. Track the keycap footprint slot-relative so the erase never touches a neighbouring switch. Make drives_display true for non-:bypass param bindings: only :bypass gets a WS bypass-echo redraw, so footswitches bound to other params (e.g. mixer Solo) must update their own LED/LCD on press. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Hard-cut over-long footswitch labels so the padded keycap never exceeds its slot width, mirroring how plugin labels are truncated. Measures with the actual keycap font, so it covers every label source (bypass, non-bypass, unbound, live update). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…n-bypass initial state
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.
Reworks the LCD footswitch strip (on v3) so it is more compact, stays in sync with MOD-UI, and behaves consistently whether it is bound to a bypass or to an arbitrary parameter.
Happy to extract out the correctness fixes without the UI change, too.
Preview
What changed
:bypassnow derives its on/off state directly from the parameter value, without the bypass inversion. This means toggle parameters like a "Solo" switch light up exactly when MOD-UI says they are on, rather than silently staying constant.