OSDN Git Service

TextField bug: DELETE char not notifying listener
authorSG57 <jordansg57@gmail.com>
Sun, 2 Jun 2013 01:34:23 +0000 (19:34 -0600)
committerSG57 <jordansg57@gmail.com>
Sun, 2 Jun 2013 01:34:23 +0000 (19:34 -0600)
commitbb165a7cff397201de21705aa91ebe7c8a8f523d
tree39806b384a28bb1db51b4f2cb6a359b69cfdd11c
parentb28ed395c8c7095eb2b7cf8c9afcc23622df173e
TextField bug: DELETE char not notifying listener

Quick fix.

When the DELETE key was pressed, it was returning before notifying the attached TextFieldListener that its respective TextField was changed.

If this is intended behavior (which I pray it isn't...), then we should at least be consistent and handle the BACKSPACE case the same as well.
gdx/src/com/badlogic/gdx/scenes/scene2d/ui/TextField.java