terminal: Pin.isBetween incorrect if same y and same page

This commit is contained in:
Mitchell Hashimoto
2024-07-05 19:06:57 -07:00
parent 44c95cbf7d
commit c02481530a

View File

@ -3124,7 +3124,7 @@ pub const Pin = struct {
else
true;
}
return self.x >= top.x;
if (self.x < top.x) return false;
}
if (self.page == bottom.page) {
if (self.y > bottom.y) return false;