Merge pull request #103 from bubba169/master

Fix volume and back keys on android
This commit is contained in:
Joshua Granick
2014-03-14 11:03:07 -07:00
2 changed files with 10 additions and 3 deletions

View File

@@ -1674,7 +1674,7 @@ void Stage::HandleEvent(Event &inEvent)
mFocusObject->OnKey(inEvent);
#ifdef ANDROID
// Non-cancelled back key ...
if (inEvent.result==0 && inEvent.code==27 && inEvent.type == etKeyUp)
if (inEvent.result==0 && inEvent.value==27 && inEvent.type == etKeyUp)
{
StopAnimation();
}