Project

General

Profile

« Previous | Next » 

Revision 84b4fc43

Added by Leszek Koltunski over 3 years ago

When we're leaving the Tutorial activity, unblock everything.

View differences:

src/main/java/org/distorted/tutorials/TutorialState.java
25 25

  
26 26
import org.distorted.helpers.MovesAndLockController;
27 27
import org.distorted.helpers.TwistyActivity;
28
import org.distorted.helpers.TwistyPreRender;
28 29
import org.distorted.main.R;
29 30
import org.distorted.main.RubikActivity;
30 31
import org.distorted.objects.ObjectList;
......
92 93
      @Override
93 94
      public void onClick(View v)
94 95
        {
96
        TwistyPreRender pre = act.getPreRender();
97
        if( pre!=null ) pre.unblockEverything();
95 98
        act.finish();
96 99
        }
97 100
      });

Also available in: Unified diff