diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java index e7522cd58..ba4b8a113 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java @@ -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;