mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
terminal: isBetween needs to fall through for matching y on top page
Regressed in 9198adcba3477ab521cf215f1f652813e32e1951 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