Project

General

Profile

« Previous | Next » 

Revision aa622165

Added by Leszek Koltunski over 1 year ago

Finally fix the 'impossible records' bug!

Thanks for a bug report from Jacob Powell - if one, during scrambling, minimized the app and re-entered it, the UI lock got removed (by a call to 'unblockEverything' from RubikActivity's onResume) and one could then keep solving the object mid-scramble.

Simply remove the 'unblockEverything' call from onResume.

View differences:

src/main/java/org/distorted/config/ConfigScreen.java
21 21
import android.widget.TextView;
22 22

  
23 23
import org.distorted.helpers.PopupCreator;
24
import org.distorted.objectlib.main.ObjectControl;
25 24

  
26 25
import org.distorted.helpers.TransparentImageButton;
27 26
import org.distorted.main.R;
......
113 112
      @Override
114 113
      public void onClick(View v)
115 114
        {
116
        ObjectControl control = act.getControl();
117
        if( control!=null ) control.unblockEverything();
118 115
        act.finish();
119 116
        }
120 117
      });

Also available in: Unified diff