mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +03:00
feat(ui): dispatch action in CSimpleEditBox::OnTextChanged
This commit is contained in:
1 file changed
+1
-3
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user