Do not allow that the selection moves outside in grid view.

This commit is contained in:
Tobias Loose
2013-12-08 22:43:03 +01:00
parent 1cc65ab611
commit 718ceca919
2 changed files with 5 additions and 6 deletions

View File

@@ -407,9 +407,8 @@ void GameStateDeckViewer::Update(float dt)
case JGE_BTN_RIGHT:
case JGE_BTN_UP:
case JGE_BTN_DOWN:
if(last_user_activity > 0.2)
if(mView->ButtonPressed(button))
{
mView->ButtonPressed(button);
last_user_activity = 0;
mStage = STAGE_WAITING;
}