mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-14 09:36:24 -04:00
The left and the right edge of a popup panel were each derived by halving the panel's width, so a panel that asked for an odd width lost a column and came out one column left of centre. Resizing the window then moved the panel's right edge only every other column, and left a gap of one column between the panel and where it should end half of the time. Derive the right edge from the left one and the width instead, the way the branch above already does it for a popup that has a parent. This also means that a panel of an odd width is now as wide as the width its text was wrapped to. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||