Revision 1ae92052
Added by Leszek Koltunski over 4 years ago
| src/main/java/org/distorted/helpers/MovesAndLockController.java | ||
|---|---|---|
| 246 | 246 |
|
| 247 | 247 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 248 | 248 |
|
| 249 |
public void clearMoves() |
|
| 249 |
public void clearMoves(final TwistyActivity act)
|
|
| 250 | 250 |
{
|
| 251 | 251 |
mMoves.clear(); |
| 252 |
changeBackMove(act,false); |
|
| 252 | 253 |
} |
| 253 | 254 |
|
| 254 | 255 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
|---|---|---|
| 293 | 293 |
mSize = sizes[index]; |
| 294 | 294 |
act.changeObject(list,sizes[index], true); |
| 295 | 295 |
adjustLevels(act); |
| 296 |
mController.clearMoves(); |
|
| 296 |
mController.clearMoves(act);
|
|
| 297 | 297 |
} |
| 298 | 298 |
|
| 299 | 299 |
mObjectPopup.dismiss(); |
| ... | ... | |
| 428 | 428 |
public void onClick(View v) |
| 429 | 429 |
{
|
| 430 | 430 |
act.getPreRender().solveObject(); |
| 431 |
mController.clearMoves(); |
|
| 431 |
mController.clearMoves(act);
|
|
| 432 | 432 |
} |
| 433 | 433 |
}); |
| 434 | 434 |
} |
| src/main/java/org/distorted/tutorials/TutorialState.java | ||
|---|---|---|
| 52 | 52 |
public void onClick(View v) |
| 53 | 53 |
{
|
| 54 | 54 |
act.getPreRender().solveObject(); |
| 55 |
mController.clearMoves(); |
|
| 55 |
mController.clearMoves(act);
|
|
| 56 | 56 |
} |
| 57 | 57 |
}); |
| 58 | 58 |
} |
Also available in: Unified diff
Always set the back move icon when we clear moves