OSDN Git Service

Fixed issue 913, textfield consuming key up.
authornathan.sweet <nathan.sweet@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Tue, 3 Jul 2012 09:34:01 +0000 (09:34 +0000)
committernathan.sweet <nathan.sweet@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Tue, 3 Jul 2012 09:34:01 +0000 (09:34 +0000)
gdx/src/com/badlogic/gdx/scenes/scene2d/ui/TextField.java

index cbfcefa..3f17f32 100644 (file)
@@ -208,6 +208,10 @@ public class TextField extends Widget {
                                }\r
                                return false;\r
                        }\r
+                       \r
+                       public boolean keyUp (ActorEvent event, int keycode) {\r
+                               return true;\r
+                       }\r
 \r
                        public boolean keyTyped (ActorEvent event, char character) {\r
                                final BitmapFont font = style.font;\r