apparently I missed the need to remove a couple of constants

This commit is contained in:
Eric House 2010-06-04 23:12:09 -07:00
parent c7a0271830
commit deb65fbd0d

View file

@ -211,8 +211,7 @@ public class BoardView extends View implements DrawCtx, BoardHandler,
public void onZoom( boolean zoomIn )
{
if ( null != m_jniThread ) {
int zoomBy = zoomIn ? JNIThread.ZOOM_AMT
: -JNIThread.ZOOM_AMT;
int zoomBy = zoomIn ? 1 : -1;
m_jniThread.handle( JNIThread.JNICmd.CMD_ZOOM, zoomBy );
}
}