LEL can now do hit detection on squares.

This commit is contained in:
Zed A. Shaw 2025-02-15 13:43:41 -05:00
parent aa149b6574
commit 7f9e200abe
4 changed files with 22 additions and 1 deletions

View file

@ -28,8 +28,9 @@ namespace gui {
auto inner_cell = lel::center(30, 40, cell);
inner.setPosition({float(inner_cell.x), float(inner_cell.y)});
inner.setSize({float(inner_cell.w), float(inner_cell.h)});
inner.setOutlineColor({100, 100, 100});
inner.setOutlineColor({100, 0, 0});
inner.setOutlineThickness(5);
inner.setFillColor({50, 50, 50});
$shapes.push_back(inner);
}
}