Fixed bug in text input

This commit is contained in:
pelya
2011-03-10 17:08:58 +02:00
parent 15d39e1af5
commit f67db85103
4 changed files with 5 additions and 4 deletions

View File

@@ -269,7 +269,7 @@ public class MainActivity extends Activity {
if ((sendBackspace && event.getAction() == KeyEvent.ACTION_UP) && (keyCode == KeyEvent.KEYCODE_DEL || keyCode == KeyEvent.KEYCODE_CLEAR))
{
synchronized(textInput) {
DemoRenderer.nativeTextInput( 8, 8 ); // Send backspace to native code
DemoRenderer.nativeTextInput( 8, 0 ); // Send backspace to native code
}
return false; // and proceed to delete text in keyboard input field
}