浏览代码

Update raygui.h

Ray 3 年之前
父节点
当前提交
a0cded315a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -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)
                 {