Fixed a bug where the DEL key wasn't triggering a "TextChanged" event in

TextInput.
This commit is contained in:
casey langen 2018-05-28 23:49:43 -07:00
parent 090ae0ea63
commit 1d4544d399

View File

@ -226,6 +226,7 @@ bool TextInput::KeyPress(const std::string& key) {
removeUtf8Char(this->buffer, this->position + 1);
this->bufferLength = u8len(buffer);
this->Redraw();
this->TextChanged(this, this->buffer);
return true;
}
}