REVIEWED: GuiTextBox() #106
This commit is contained in:
parent
424ad14d3c
commit
8197be08d8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user