瀏覽代碼

Update raygui.h

Ray 2 年之前
父節點
當前提交
8c14e61214
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -2120,7 +2120,7 @@ bool GuiDropdownBox(Rectangle bounds, const char *text, int *active, bool editMo
 bool GuiTextBox(Rectangle bounds, char *text, int bufferSize, bool editMode)
 {
     #define AUTO_CURSOR_COOLDOWN  40        // Frames to wait for autocursor movement
-    #define AUTO_CURSOR_DELAY      3        // Frames delay for autocursor movement
+    #define AUTO_CURSOR_DELAY      1        // Frames delay for autocursor movement
     
     GuiState state = guiState;
     bool pressed = false;