bug: use ce's rule for hiding tray; works with always-visible case now

expected on high-res
This commit is contained in:
ehouse 2004-11-09 02:13:43 +00:00
parent 688132b919
commit 1c08a0318d

View file

@ -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 );