Commit b235af9
Fix grape range bar overflowing when a value is pinned at the max
A single value at the top of the scale (e.g. Cabernet Sauvignon's
High tannin/acidity) was positioned at 100% and rendered off the
right edge of the track, so the fill looked empty. Clamp the fill so
it stays inside the track and shows at the High end.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 56e277e commit b235af9
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1642 | 1642 | | |
1643 | 1643 | | |
1644 | 1644 | | |
1645 | | - | |
1646 | | - | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
1647 | 1649 | | |
1648 | 1650 | | |
1649 | 1651 | | |
| |||
0 commit comments