mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6855 from andyque/fixKeypad
[ci skip]fix keypad test
This commit is contained in:
commit
d69819057a
|
@ -27,7 +27,7 @@ KeypadTest::~KeypadTest()
|
|||
|
||||
void KeypadTest::onKeyReleased(EventKeyboard::KeyCode keycode, Event* event)
|
||||
{
|
||||
if (keycode == EventKeyboard::KeyCode::KEY_BACKSPACE)
|
||||
if (keycode == EventKeyboard::KeyCode::KEY_ESCAPE)
|
||||
{
|
||||
_label->setString("BACK clicked!");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue