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 /internal/version/version.go | |
| 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 'internal/version/version.go')
| -rw-r--r-- | internal/version/version.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/version/version.go b/internal/version/version.go index 209fae7..01de152 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -1,4 +1,4 @@ package version // Version is the application version (set at build time or here for development). -const Version = "0.9.0" +const Version = "0.9.1" |
