mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-04 13:19:17 -05:00
Update raygui.h
This commit is contained in:
@ -2032,7 +2032,7 @@ bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
|
|||||||
// Only allow keys in range [32..125]
|
// Only allow keys in range [32..125]
|
||||||
if ((keyCount + byteSize) < textSize)
|
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)
|
if (key >= 32)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user