REVIEWED: GuiTextBox() #106

This commit is contained in:
Ray 2021-09-03 00:44:11 +02:00
parent 424ad14d3c
commit 8197be08d8

View File

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