erase cached tile rects when doing layout to fix bug where tile

letters are partially offtile when a game first opened game in
landscape changes to portrait mode.
This commit is contained in:
eehouse 2010-05-14 12:42:44 +00:00
parent 95460e1685
commit bbfa375dfe

View file

@ -269,6 +269,8 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
m_layoutWidth = width;
m_layoutHeight = height;
m_fontDims = null; // force recalc of font
m_letterRect = null;
m_valRect = null;
BoardDims dims = figureBoardDims( width, height, m_gi );
m_top = dims.top;