Project

General

Profile

« Previous | Next » 

Revision 5be1059b

Added by Leszek Koltunski over 4 years ago

Properly remember size of the Cube.

View differences:

src/main/java/org/distorted/magic/RubikActivity.java
83 83
      setContentView(R.layout.main);
84 84
      RubikSurfaceView view = findViewById(R.id.rubikSurfaceView);
85 85
      view.addSizeButtons(this);
86
      view.markButton(view.getRedButton());
86
      view.markButton(RubikSurfaceView.getRedButton());
87 87

  
88 88
      mPicker = findViewById(R.id.rubikNumberPicker);
89 89
      mPicker.setMin(MIN_SCRAMBLE);

Also available in: Unified diff