Fix panic when scrolling in project diff (#25771)

It may happen that the column for the scroll anchor is nonzero, and the
adjustment we're doing here could result in an invalid point in that
case.

Release Notes:

- N/A

Co-authored-by: Max <max@zed.dev>
eb4fad52dfCole Miller committed on 2/27/2025, 7:35:03 PM· committed by GitHubparent541a5c0
1 file changedLine totals unavailable