Update raygui.h

This commit is contained in:
Ray
2024-12-03 19:14:55 +01:00
parent d0cbf9bee2
commit f11dc823d1

View File

@ -2642,7 +2642,7 @@ int GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
// Make sure text last character is EOL
text[textLength] = '\0';
}
}
else if ((textLength > 0) && (IsKeyPressed(KEY_BACKSPACE) || (IsKeyDown(KEY_BACKSPACE) && (autoCursorCooldownCounter >= RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN))))
{
autoCursorDelayCounter++;