mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-11 06:08:18 +00:00
terminal: isBetween needs to fall through for matching y on top page
Regressed in 9198adcba3
This was causing Kitty image intersection to break.
This commit is contained in:
@@ -3335,7 +3335,7 @@ pub const Pin = struct {
|
||||
// Otherwise our y is the same as the top y, so we need to
|
||||
// check the x coordinate.
|
||||
assert(self.y == top.y);
|
||||
return self.x >= top.x;
|
||||
if (self.x < top.x) return false;
|
||||
}
|
||||
if (self.page == bottom.page) {
|
||||
// Our page is the bottom page so we're between the top and
|
||||
|
||||
Reference in New Issue
Block a user