mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
fix arrow movement when board flipped
This commit is contained in:
parent
e0d17c7fba
commit
45d651e091
1 changed files with 2 additions and 4 deletions
|
@ -2241,10 +2241,8 @@ moveScoreCursor( BoardCtxt* board, XP_Key key )
|
|||
static XP_Bool
|
||||
advanceArrow( BoardCtxt* board )
|
||||
{
|
||||
XP_Bool vertical = board->boardArrow[board->selPlayer].vert;
|
||||
|
||||
XP_Key key = (vertical ^ board->isFlipped)?
|
||||
XP_CURSOR_KEY_DOWN: XP_CURSOR_KEY_RIGHT;
|
||||
XP_Key key = board->boardArrow[board->selPlayer].vert ?
|
||||
XP_CURSOR_KEY_DOWN : XP_CURSOR_KEY_RIGHT;
|
||||
|
||||
XP_ASSERT( board->trayVisState == TRAY_REVEALED );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue