cleanup and update version strings

commented out more of variable line-thickness since the ability to set
has been removed.
This commit is contained in:
Eric House 2020-07-20 08:08:54 -07:00
parent 4629f878a3
commit e8127a22fb
4 changed files with 11 additions and 9 deletions

View file

@ -1,6 +1,6 @@
def INITIAL_CLIENT_VERS = 9 def INITIAL_CLIENT_VERS = 9
def VERSION_CODE_BASE = 156 def VERSION_CODE_BASE = 157
def VERSION_NAME = '4.4.160' def VERSION_NAME = '4.4.161'
def FABRIC_API_KEY = System.getenv("FABRIC_API_KEY") def FABRIC_API_KEY = System.getenv("FABRIC_API_KEY")
def BUILD_INFO_NAME = "build-info.txt" def BUILD_INFO_NAME = "build-info.txt"

View file

@ -27,8 +27,8 @@
<h3>New with this release</h3> <h3>New with this release</h3>
<ul> <ul>
<li>Remove under-construction image that flashed by as a thumbnail was loading</li> <li>Remove under-construction image that flashed by as a thumbnail was loading</li>
<li>Change how dialogs are handled internally. You should NOT notice!</li>
<li>Make color of line separating board tiles configurable</li> <li>Make color of line separating board tiles configurable</li>
<li>Change how dialogs are handled internally. You should NOT notice!</li>
</ul> </ul>
<p>(The full changelog <p>(The full changelog
@ -36,6 +36,7 @@
<h3>Coming soon</h3> <h3>Coming soon</h3>
<ul> <ul>
<li>Add filtering to the wordlist browser</li>
<li>Improve move-via-NFC</li> <li>Improve move-via-NFC</li>
<li>Support duplicate-style play (popular in France)</li> <li>Support duplicate-style play (popular in France)</li>
<li>Improve play-by-data-sms workaround <li>Improve play-by-data-sms workaround

View file

@ -443,11 +443,13 @@ public class BoardCanvas extends Canvas implements DrawCtx {
// frame the cell // frame the cell
int frameColor = m_otherColors[CommonPrefs.COLOR_CELLLINE]; int frameColor = m_otherColors[CommonPrefs.COLOR_CELLLINE];
m_strokePaint.setColor( adjustColor(frameColor) ); m_strokePaint.setColor( adjustColor(frameColor) );
if ( false ) {
// PENDING: fetch/calculate this a lot less frequently!! // PENDING: fetch/calculate this a lot less frequently!!
int linePct = XWPrefs.getPrefsInt( m_activity, R.string.key_board_line_pct, 1 ); int linePct = XWPrefs.getPrefsInt( m_activity, R.string.key_board_line_pct, 1 );
linePct = Math.min( 25, linePct ); linePct = Math.min( 25, linePct );
int width = Math.max(1, (rect.width() * linePct) / 100); int width = Math.max(1, (rect.width() * linePct) / 100);
m_strokePaint.setStrokeWidth( width ); m_strokePaint.setStrokeWidth( width );
}
drawRect( rect, m_strokePaint ); drawRect( rect, m_strokePaint );
drawCrosshairs( rect, flags ); drawCrosshairs( rect, flags );

View file

@ -220,7 +220,6 @@ public class XWPrefs {
try { try {
result = Integer.parseInt( asStr ); result = Integer.parseInt( asStr );
} catch ( Exception ex ) { } catch ( Exception ex ) {
result = defaultValue;
} }
} }
} }