2
0
Ray 1 жил өмнө
parent
commit
9a9edd89b4
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      src/raygui.h

+ 3 - 1
src/raygui.h

@@ -2582,7 +2582,9 @@ int GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
 
                     // Move backward text from cursor position
                     for (int i = (textBoxCursorIndex - prevCodepointSize); i < textLength; i++) text[i] = text[i + prevCodepointSize];
-
+                    
+                    // TODO Check: >= cursor+codepointsize and <= length-codepointsize
+                    
                     // Prevent cursor index from decrementing past 0
                     if (textBoxCursorIndex > 0)
                     {