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