diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-16 19:25:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-16 19:25:46 +0200 |
| commit | 96b15cd512f6f38603e1e3d20afabd8c6f303079 (patch) | |
| tree | dd336d9cc9971f790c4fc38653acd2ff02c61128 /debian/loadbars.substvars | |
| parent | d0bed33cf41ac4917a9427c98e63351367d71298 (diff) | |
Fix multi-core display bug: distribute remainder pixels evenlyv0.9.1
Fixes issue where integer division (winW / numBars) left unused pixels
on the right side of the window. The more cores displayed, the more
obvious the gap became.
Changes:
- Add barBounds() helper to calculate exact position and width for each bar
- Distribute remainder pixels evenly using scaled division
- Update drawing functions to use pre-calculated positions
- Update test to verify bars now fill entire window width
Increment version to 0.9.1
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'debian/loadbars.substvars')
0 files changed, 0 insertions, 0 deletions
