mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00

Fixes #2332 Two bugs fixed to fix this behavior: 1. Our destination height didn't account for the top-left being offscreen. 2. We were using the wrong height for the source rectangle. When a rows param (r=) is specified, the image height and destination height are at different scales. We were using the viewport scale for the offset but it should be the image scale.