Fix incorrect point types in scroll calculations (#13600)

fixes https://github.com/zed-industries/zed/issues/13559

Release Notes:

- Fixed incorrect scroll behavior when using different
`scroll_beyond_last_line` settings
([#13559](https://github.com/zed-industries/zed/issues/13559)) (preview
only)
a695322f83Mikayla Maki committed on 6/27/2024, 6:19:27 PM· committed by GitHubparentcb2d05b
1 file changedLine totals unavailable