Murmele / Gittyup

Understand your Git history!
https://murmele.github.io/Gittyup
MIT License
1.37k stars 107 forks source link

Hunk header does not interfere with line wrapping #720

Closed jensenr30 closed 3 months ago

jensenr30 commented 3 months ago

The Hunk Header was interfering with line wrapping. This video shows how the Hunk Header causes the line wrapping to stop working:

gittyup-line-wrap-header-1-no-wrap.webm

This PR fixes this issue by making the hunk header resize itself according to the size of the DiffView windows:

gittyup-line-wrap-header-2-wrap.webm

Also, the DiffView still has line wrapping disabled by default. When line wrapping is disabled, the new Hunk Header still works as expected:

gittyup-line-wreap-header-3-no-line-wrap.webm

Murmele commented 3 months ago

I have to check why the appdata check does not work anymore. I created an issue I have to checkout the linux build problem: https://github.com/Murmele/Gittyup/issues/722