Project

General

Profile

« Previous | Next » 

Revision 46405bb4

Added by Leszek Koltunski over 3 years ago

Add lock button.

View differences:

src/main/java/org/distorted/main/RubikSurfaceView.java
338 338
          }
339 339
        else
340 340
          {
341
          mDragging           = true;
341
          final RubikActivity act = (RubikActivity)getContext();
342

  
343
          mDragging           = !act.isLocked();
342 344
          mBeginningRotation  = false;
343 345
          mContinuingRotation = false;
344 346
          }

Also available in: Unified diff