mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Forgot to include dropOpen reset
Reset dropOpen when dropdown closed. Forgot to add in previous commit
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user