fix(steami_screen): Improve gauge reactivity and readability. - #421
Conversation
|
Good work on this improvement pass. There are however a few points that should be addressed before merging: 1.
|
d8117e1 to
e9891b6
Compare
8689897 to
4e44adc
Compare
4e44adc to
13cb662
Compare
Signed-off-by: Charly Olivier <145347967+Charly-sketch@users.noreply.github.com>
## [0.25.1](v0.25.0...v0.25.1) (2026-09-29) ### Bug Fixes * **steami_screen:** Improve gauge reactivity and readability ([#421](#421)). ([927e96b](927e96b))
|
🎉 This PR is included in version 0.25.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Summary
Improve
gauge_demo.pyreactivity and readability on hardware. Closes #370Changes
arc_widthoptional parameter togauge()indevice.pymax(5, radius // 9)if not provided — no breaking change_draw_arc()oversampling fromx2tox1.5for faster renderinggauge_demo.py:REDRAW_THRESHOLD)screen.value()withscreen.text()at scale=1 for readabilitytry/finallyto clear display on exitChecklist
ruff checkpassespython -m pytest tests/ -k mock -vpasseslib/steami_screen/examples/gauge_demo.py)<scope>: <Description.>format