🪲 Text could still be typed in TextBox when no scrollbar was present and the TextBox was full
parent
317a31ac39
commit
d1dcfbc33a
|
@ -912,7 +912,7 @@ namespace tgui
|
|||
insert();
|
||||
|
||||
// Undo the insert if the text does not fit
|
||||
if (oldText.getSize() + 1 != m_text.getSize())
|
||||
if (m_lines.size() > getInnerSize().y / m_lineHeight)
|
||||
{
|
||||
m_text = oldText;
|
||||
m_selStart = oldSelStart;
|
||||
|
|
Loading…
Reference in New Issue