mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
don't make scoreboard entries translucent during trade if option to
change which player is shown is enabled.
This commit is contained in:
parent
e94524958f
commit
5d08b6b3cd
1 changed files with 5 additions and 1 deletions
|
@ -426,7 +426,11 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
|
||||||
fillRectOther( rOuter, CommonPrefs.COLOR_FOCUS );
|
fillRectOther( rOuter, CommonPrefs.COLOR_FOCUS );
|
||||||
}
|
}
|
||||||
String[] texts = m_scores[dsi.playerNum];
|
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 );
|
Rect rect = new Rect( rOuter );
|
||||||
int height = rect.height() / texts.length;
|
int height = rect.height() / texts.length;
|
||||||
|
|
Loading…
Reference in a new issue