Project

General

Profile

« Previous | Next » 

Revision 4fb43af4

Added by Leszek Koltunski over 2 years ago

Optimize the FreePlay screen; bump to 1.10.6

View differences:

build.gradle
15 15
        applicationId "org.distorted.magic"
16 16
        minSdkVersion 21
17 17
        targetSdkVersion 31
18
        versionCode 56
19
        versionName "1.10.5"
18
        versionCode 57
19
        versionName "1.10.6"
20 20
    }
21 21

  
22 22
    buildTypes {
src/main/java/org/distorted/screens/RubikScreenFreePlay.java
37 37

  
38 38
public class RubikScreenFreePlay extends RubikScreenBase
39 39
{
40
  public static final int[] DEPTHS = new int[] {20,50,100,200,500,1000};
40
  public static final int[] DEPTHS = new int[] {20,50,100};
41 41
  public static final int ANIMATION_ON  = 0;
42 42
  public static final int ANIMATION_OFF = 1;
43 43

  
......
216 216

  
217 217
  public void restorePreferences(SharedPreferences preferences)
218 218
    {
219
    mScrambleDepth = preferences.getInt("freePlayScreen_scramble" ,3);
219
    mScrambleDepth = preferences.getInt("freePlayScreen_scramble" ,1);
220 220
    mAnimationMode = preferences.getInt("freePlayScreen_animation",ANIMATION_OFF);
221 221
    }
222 222

  

Also available in: Unified diff