change to check if mouse/touch

This commit is contained in:
Nikola Petrov 2024-03-02 13:49:49 +01:00
parent c01c722fec
commit 7e693bb73f

View File

@ -136,7 +136,7 @@ int main(void)
while (!WindowShouldClose())
{
if (IsKeyPressed(KEY_R))
if (IsMouseButtonPressed(MOUSE_BUTTON_LEFT))
{
new_tree();
}