From 6e08bbc9ced6b3d467481a5f5b4e7cd500b6a5a3 Mon Sep 17 00:00:00 2001 From: eehouse Date: Mon, 8 Mar 2010 06:11:18 +0000 Subject: [PATCH] don't draw tile that's the source of a drag. --- .../android/XWords4/src/org/eehouse/android/xw4/BoardView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a56e2d937..8b1da8eea 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java @@ -350,7 +350,7 @@ public class BoardView extends View implements DrawCtx, BoardHandler, { int backColor; int foreColor = WHITE; // must be initialized :-( - boolean empty = null == text && null == bitmaps; + boolean empty = 0 != (flags & (CELL_DRAGSRC|CELL_ISEMPTY)); boolean pending = 0 != (flags & CELL_HIGHLIGHT); figureFontDims();