mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-02 06:20:14 +01:00
don't reset variable unless changed
This commit is contained in:
parent
8ff27cc075
commit
13633186ff
1 changed files with 2 additions and 2 deletions
|
@ -295,9 +295,9 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
|
|||
heightLeft /= 3;
|
||||
trayHt += heightLeft * 2;
|
||||
scoreHt += heightLeft;
|
||||
heightUsed = trayHt + scoreHt + ((nCells - nToScroll) * cellSize);
|
||||
heightLeft = height - heightUsed;
|
||||
}
|
||||
heightUsed = trayHt + scoreHt + ((nCells - nToScroll) * cellSize);
|
||||
heightLeft = height - heightUsed;
|
||||
result.top = heightLeft / 2;
|
||||
|
||||
result.trayHt = trayHt;
|
||||
|
|
Loading…
Reference in a new issue