diff options
author | Michael Davis | 2024-03-21 00:16:58 +0000 |
---|---|---|
committer | GitHub | 2024-03-21 00:16:58 +0000 |
commit | 7f5fd63835d2d539c8ef3f8cfd40beebe9ed51ae (patch) | |
tree | b59d866e8d3059b59fa2c453f2827e7c1cf0dff2 /contrib/Helix.desktop | |
parent | 52a0734120772f4dc2e523f50b6533466849fbeb (diff) |
Evenly space statusline areas when there isn't space to align middle (#9950)
The refactor in bcf7b263 introduced a possible subtraction with overflow
when the statusline is layed out so that the left or right sides are
larger than the padding it would take to align the center area to the
middle.
When the left or right areas are too large, we can evenly space the
elements rather than trying to align the center area to the middle.
This prevents possible underflows and makes sense visually - it's
still easy to tell the areas apart at a glance.
Diffstat (limited to 'contrib/Helix.desktop')
0 files changed, 0 insertions, 0 deletions