mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
pass only -1 or 1 into board_zoom
This commit is contained in:
parent
f514717428
commit
ca968d8294
2 changed files with 1 additions and 3 deletions
|
@ -363,7 +363,7 @@ public class BoardActivity extends Activity implements UtilCtxt {
|
|||
case KeyEvent.KEYCODE_VOLUME_UP:
|
||||
if ( m_volKeysZoom ) {
|
||||
int zoomBy = KeyEvent.KEYCODE_VOLUME_DOWN == keyCode
|
||||
? -JNIThread.ZOOM_AMT : JNIThread.ZOOM_AMT;
|
||||
? -1 : 1;
|
||||
handled = doZoom( zoomBy );
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -80,8 +80,6 @@ public class JNIThread extends Thread {
|
|||
public static final int DIALOG = 3;
|
||||
public static final int QUERY_ENDGAME = 4;
|
||||
|
||||
public static final int ZOOM_AMT = 2;
|
||||
|
||||
private boolean m_stopped = false;
|
||||
private int m_jniGamePtr;
|
||||
private String m_path;
|
||||
|
|
Loading…
Reference in a new issue