mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-06 22:29:18 -05:00
REVIEWED: GuiTextBox() #106
This commit is contained in:
@ -1932,6 +1932,8 @@ bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
|
||||
(float)GuiGetStyle(DEFAULT, TEXT_SIZE)*2
|
||||
};
|
||||
|
||||
if (cursor.height > bounds.height) cursor.height = bounds.height - GuiGetStyle(TEXTBOX, BORDER_WIDTH)*2;
|
||||
|
||||
// Update control
|
||||
//--------------------------------------------------------------------
|
||||
if ((state != GUI_STATE_DISABLED) && !guiLocked)
|
||||
|
||||
Reference in New Issue
Block a user