don't make scoreboard entries translucent during trade if option to

change which player is shown is enabled.
This commit is contained in:
Andy2 2011-09-01 19:52:36 -07:00
parent e94524958f
commit 5d08b6b3cd

View file

@ -426,7 +426,11 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
fillRectOther( rOuter, CommonPrefs.COLOR_FOCUS );
}
String[] texts = m_scores[dsi.playerNum];
m_fillPaint.setColor( adjustColor(m_playerColors[dsi.playerNum]) );
int color = m_playerColors[dsi.playerNum];
if ( !CommonPrefs.get(m_context).allowPeek ) {
color = adjustColor( color );
}
m_fillPaint.setColor( color );
Rect rect = new Rect( rOuter );
int height = rect.height() / texts.length;