Update raygui.h

This commit is contained in:
Ray 2022-09-02 18:49:17 +02:00
parent c8a2e7d442
commit a0cded315a

View File

@ -2032,7 +2032,7 @@ bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
// Only allow keys in range [32..125]
if ((keyCount + byteSize) < textSize)
{
float maxWidth = (bounds.width - (GuiGetStyle(TEXTBOX, TEXT_INNER_PADDING)*2));
//float maxWidth = (bounds.width - (GuiGetStyle(TEXTBOX, TEXT_INNER_PADDING)*2));
if (key >= 32)
{