Fix UI Cellular Automata (#5688)

This commit is contained in:
Jordi Santonja
2026-03-24 08:20:37 +01:00
committed by GitHub
parent cb05ef7f03
commit 5dd4036ed0

View File

@@ -165,7 +165,7 @@ int main(void)
// If the mouse is on this preset, highlight it
if (mouseInCell == i + 8)
DrawRectangleLinesEx((Rectangle) { 2 + (presetsSizeX + 2.0f)*((float)i/2),
DrawRectangleLinesEx((Rectangle) { 2 + (presetsSizeX + 2.0f)*(i/2),
(presetsSizeY + 2.0f)*(i%2),
presetsSizeX + 4.0f, presetsSizeY + 4.0f }, 3, RED);
}