Forgot to include dropOpen reset

Reset dropOpen when dropdown closed. Forgot to add in previous commit
This commit is contained in:
ChrisDill
2018-09-26 15:06:03 +01:00
committed by GitHub
parent 012628a94a
commit 72f9950ce9

View File

@ -1659,6 +1659,7 @@ RAYGUIDEF int GuiDropdownBox(Rectangle bounds, const char **text, int count, int
{
if (CheckCollisionPointRec(mousePoint, (Rectangle){ bounds.x, bounds.y + i*bounds.height, bounds.width, bounds.height })) active = i - 1;
}
dropOpen = false;
}
}
//--------------------------------------------------------------------