REVIEWED: GuiTextBox() #106
This commit is contained in:
parent
424ad14d3c
commit
8197be08d8
@ -1931,6 +1931,8 @@ bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
|
||||
4,
|
||||
(float)GuiGetStyle(DEFAULT, TEXT_SIZE)*2
|
||||
};
|
||||
|
||||
if (cursor.height > bounds.height) cursor.height = bounds.height - GuiGetStyle(TEXTBOX, BORDER_WIDTH)*2;
|
||||
|
||||
// Update control
|
||||
//--------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user