Project

General

Profile

« Previous | Next » 

Revision c95b37a4

Added by Leszek Koltunski over 1 year ago

Block the object, menu & back moves while we're scrambling!

View differences:

src/main/java/org/distorted/screens/RubikScreenBase.java
30 30

  
31 31
///////////////////////////////////////////////////////////////////////////////////////////////////
32 32

  
33
  void createBottomPane(final RubikActivity act, TransparentImageButton left, TransparentImageButton right)
33
  void createBottomPane(final RubikActivity act, TransparentImageButton butt)
34 34
    {
35 35
    mMovesController.clearMoves(act);
36 36

  
......
52 52
    mLockController.setupButton(act,control);
53 53
    layoutMid.addView(mLockController.getButton());
54 54

  
55
    if( left !=null ) layoutRight.addView(left);
56
    if( right!=null ) layoutRight.addView(right);
55
    if( butt !=null ) layoutRight.addView(butt);
57 56

  
58 57
    layoutBot.addView(layoutLeft);
59 58
    layoutBot.addView(layoutMid);

Also available in: Unified diff