mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(ui): dispatch action in CSimpleEditBox::OnTextChanged
This commit is contained in:
parent
f42a81deaf
commit
f9f6511fc6
@ -997,9 +997,7 @@ void CSimpleEditBox::OnLayerUpdate(float elapsedSec) {
|
|||||||
|
|
||||||
void CSimpleEditBox::OnTextChanged() {
|
void CSimpleEditBox::OnTextChanged() {
|
||||||
this->RunOnTextChangedScript((this->m_dirtyFlags & 0x8) != 0);
|
this->RunOnTextChangedScript((this->m_dirtyFlags & 0x8) != 0);
|
||||||
|
this->DispatchAction(EVENT_CHANGED);
|
||||||
// TODO
|
|
||||||
// - invoke action
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t CSimpleEditBox::PrevCharOffset(int32_t offset) {
|
int32_t CSimpleEditBox::PrevCharOffset(int32_t offset) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user