mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
bug: use ce's rule for hiding tray; works with always-visible case now
expected on high-res
This commit is contained in:
parent
688132b919
commit
1c08a0318d
1 changed files with 1 additions and 3 deletions
|
@ -1583,9 +1583,7 @@ static Boolean
|
||||||
handleHideTray( PalmAppGlobals* globals )
|
handleHideTray( PalmAppGlobals* globals )
|
||||||
{
|
{
|
||||||
Boolean draw;
|
Boolean draw;
|
||||||
XW_TrayVisState curState = board_getTrayVisState( globals->game.board );
|
if ( TRAY_REVEALED == board_getTrayVisState( globals->game.board ) ) {
|
||||||
|
|
||||||
if ( curState != TRAY_HIDDEN ) {
|
|
||||||
draw = board_hideTray( globals->game.board );
|
draw = board_hideTray( globals->game.board );
|
||||||
} else {
|
} else {
|
||||||
draw = board_showTray( globals->game.board );
|
draw = board_showTray( globals->game.board );
|
||||||
|
|
Loading…
Add table
Reference in a new issue