mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
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:
parent
95460e1685
commit
bbfa375dfe
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue