From 78be732c6485162ca0843c2490d821940ab419c8 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Tue, 30 Nov 2010 18:21:28 -0800 Subject: [PATCH] use min of score ht and cell width for network status icon. Fixes problem on 600x800 devices where the icon overlaps the board. --- .../XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java index 4904b080a..ec2e4d6f6 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java @@ -179,7 +179,7 @@ public class JNIThread extends Thread { scoreWidth -= dims.cellSize; m_connsIconRect = new Rect( scoreWidth, 0, scoreWidth + dims.cellSize, - dims.cellSize ); + Math.min( dims.scoreHt, dims.cellSize ) ); } if ( m_gi.timerEnabled ) {