start adding ranges

This commit is contained in:
2025-11-12 15:00:01 -07:00
parent 052e1436cb
commit 90168a0999
3 changed files with 108 additions and 21 deletions

View File

@@ -43,10 +43,10 @@ impl Widget for &App {
x2 += 1;
y2 += 1;
// in-between the Xs
if (x >= x1 && x <= x2) || (x >= x2 && x <= x1) {
// in-between the Xs
// in-between the Ys
if (y >= y1 && y <= y2) || (y >= y2 && y <= y1) {
// in-between the Ys
return true;
}
}