[view] remove InputTextView

This commit is contained in:
2019-04-05 16:47:16 +03:00
parent b87338cbef
commit 493a319ef5
2 changed files with 1 additions and 73 deletions

View File

@@ -18,6 +18,7 @@ class InputView extends TextView {
public function new() {
super();
textField.type = TextFieldType.INPUT;
textField.addEventListener(Event.CHANGE, onTextChange);
textField.addEventListener(KeyboardEvent.KEY_UP, _onKeyUp);
textField.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown);
@@ -27,10 +28,6 @@ class InputView extends TextView {
textFormat.align = TextFormatAlign.LEFT;
}
override private function buildTextField():TextField {
return new InputTextField();
}
private function set_hint(value:String):String {
if (hint != value) {
hint = value;