Update UIUtil.hx
This commit is contained in:
@@ -150,7 +150,7 @@ class UIUtil {
|
|||||||
} else if (member is UITextBox) @:privateAccess {
|
} else if (member is UITextBox) @:privateAccess {
|
||||||
var textbox:UITextBox = cast member;
|
var textbox:UITextBox = cast member;
|
||||||
if (textbox.__wasFocused) {
|
if (textbox.__wasFocused) {
|
||||||
textbox.onChange(textbox.label.text);
|
if (textbox.onChange != null) textbox.onChange(textbox.label.text);
|
||||||
textbox.__wasFocused = false;
|
textbox.__wasFocused = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -159,4 +159,4 @@ class UIUtil {
|
|||||||
confirmUISelections(cast member);
|
confirmUISelections(cast member);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user