Revision 756f152c
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/screens/RubikScreenFreePlay.java | ||
---|---|---|
107 | 107 |
@Override |
108 | 108 |
public void onClick(View v) |
109 | 109 |
{ |
110 |
ScreenList.goBack(act); |
|
110 |
if(act.getControl().isUINotBlocked()) ScreenList.goBack(act);
|
|
111 | 111 |
} |
112 | 112 |
}); |
113 | 113 |
} |
... | ... | |
125 | 125 |
@Override |
126 | 126 |
public void onClick(View v) |
127 | 127 |
{ |
128 |
Bundle bundle = new Bundle(); |
|
129 |
bundle.putInt("scraPos", mScrambleDepth ); |
|
130 |
bundle.putInt("animPos", mAnimationMode ); |
|
128 |
if(act.getControl().isUINotBlocked()) |
|
129 |
{ |
|
130 |
Bundle bundle = new Bundle(); |
|
131 |
bundle.putInt("scraPos", mScrambleDepth ); |
|
132 |
bundle.putInt("animPos", mAnimationMode ); |
|
131 | 133 |
|
132 |
RubikDialogFreePlaySettings setDiag = new RubikDialogFreePlaySettings(); |
|
133 |
setDiag.setArguments(bundle); |
|
134 |
setDiag.show(act.getSupportFragmentManager(), null); |
|
134 |
RubikDialogFreePlaySettings setDiag = new RubikDialogFreePlaySettings(); |
|
135 |
setDiag.setArguments(bundle); |
|
136 |
setDiag.show(act.getSupportFragmentManager(), null); |
|
137 |
} |
|
135 | 138 |
} |
136 | 139 |
}); |
137 | 140 |
} |
Also available in: Unified diff
Come back to solve/scramble in the main screen.