You can see in the video that hunks were getting toggled even when
clicking on the scrollbar.
https://github.com/zed-industries/zed/assets/53836821/11f201e8-c5f1-49c8-a4d2-ac3b3343b5a8
This happened because the hitbox was actually extended to the left of
the hunk indicator, I believe that was done so that "Removed" hunk
indicators rendered correctly (Red triangles)
Fixed:
https://github.com/zed-industries/zed/assets/53836821/7b451b37-da85-4e56-9127-2a5512bd9e7a
Release Notes:
- Fixed hunk indicators getting expanded when clicking near them (but
not on them)
16745542b5Bennet Bo Fenner committed on 5/29/2024, 12:45:27 PM· committed by GitHubparenta0644ac