modified flickleft for android
if you flick/swipe left or right when the closedhand option is visible in Android, you simulate scroll up/down. example scenario at opponent's turn with a spell on the stack, swipe down to interrupt then do something, if you open a zone like library or graveyard or exile and you want to interract from the zone there (like casting spell or doing ability from that zone, you can flick left or right to close that zone so you can tap for mana or any other extra costs for that spell, you can open the zone if possible just by tapping it like it used to.)
This commit is contained in:
@@ -1726,6 +1726,13 @@ void GameStateDuel::OnScroll(int inXVelocity, int inYVelocity)
|
||||
JButton trigger = (options[Options::REVERSETRIGGERS].number ? JGE_BTN_PREV : JGE_BTN_NEXT);
|
||||
mEngine->HoldKey_NoRepeat(trigger);
|
||||
}
|
||||
else if(flickLeft && OptionClosedHand::VISIBLE == options[Options::CLOSEDHAND].number)
|
||||
{
|
||||
#if defined (ANDROID)
|
||||
JButton trigger = (options[Options::REVERSETRIGGERS].number ? JGE_BTN_UP : JGE_BTN_DOWN);
|
||||
mEngine->HoldKey_NoRepeat(trigger);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user