Project

General

Profile

« Previous | Next » 

Revision 985f3dfa

Added by Leszek Koltunski about 3 years ago

Do not block the UI if, for some reason, some of the effects failed to get added to the Queue. Just fail to rotate.

View differences:

src/main/java/org/distorted/states/RubikStatePlay.java
49 49
  public  static final int DEF_OBJECT= ObjectList.CUBE.ordinal();
50 50
  public  static final int DEF_SIZE  =  3;
51 51

  
52
  private static int[] BUTTON_LABELS = { R.string.scores, R.string.patterns, R.string.solver, R.string.tutorials, R.string.about };
52
  private static final int[] BUTTON_LABELS = { R.string.scores, R.string.patterns, R.string.solver, R.string.tutorials, R.string.about };
53 53
  private static final int NUM_BUTTONS = BUTTON_LABELS.length;
54 54

  
55 55
  private ImageButton mObjButton, mMenuButton, mSolveButton;

Also available in: Unified diff