Commit 2126edc
committed
fix(vl53l1x): Fix gauge/title draw order and subtitle label in radar_screen.
Address Copilot review comments on #391:
1. Call screen.gauge() before screen.title() so the title text layers on
top of the arc, as documented in gauge()'s docstring.
2. Change subtitle from "Distance" to "Proximity" — the gauge shows
proximity (inverted distance: arc grows as object gets closer), so
labelling it "Distance" was misleading.1 parent ccdce32 commit 2126edc
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
64 | | - | |
65 | 70 | | |
66 | | - | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
0 commit comments