Revision c22e6ef7
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/main/MainObjectPopup.java | ||
---|---|---|
199 | 199 |
level[l].setLayoutParams(params); |
200 | 200 |
level[l].setPadding(0,0,0,0); |
201 | 201 |
|
202 |
final int ll=l-1;
|
|
202 |
final int ll= ( l==LEVELS_SHOWN ? l : l-1); // the last level has to be upped by one
|
|
203 | 203 |
boolean isSolved = scores.isSolved(mObjectOrdinal,ll); |
204 | 204 |
level[l].setBackgroundTintList( isSolved ? colorG : colorD); |
205 | 205 |
int scrambles = (l>0 && l<min) ? l : numScramble; |
src/main/java/org/distorted/playui/ScreenSolving.java | ||
---|---|---|
20 | 20 |
import org.distorted.external.RubikScores; |
21 | 21 |
import org.distorted.helpers.TransparentImageButton; |
22 | 22 |
import org.distorted.main.R; |
23 |
import org.distorted.objects.RubikObjectList; |
|
24 | 23 |
|
25 | 24 |
import java.util.Timer; |
26 | 25 |
import java.util.TimerTask; |
Also available in: Unified diff
bugfix