Revision 79422ed8
Added by Leszek Koltunski over 2 years ago
| src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
|---|---|---|
| 102 | 102 |
mMenuTextSize = (int)(mScreenHeight*MENU_TEXT_SIZE); |
| 103 | 103 |
|
| 104 | 104 |
mObjectPopup = null; |
| 105 |
mOldNumScramble = 1000; // used to remember which 'level' buttons are visible; initially all visible |
|
| 106 | 105 |
|
| 107 | 106 |
// TOP //////////////////////////// |
| 108 | 107 |
LinearLayout layoutTop = act.findViewById(R.id.upperBar); |
| ... | ... | |
| 468 | 467 |
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(mLevelWidth,mLevelHeight); |
| 469 | 468 |
params.setMargins(margin,margin,margin,margin); |
| 470 | 469 |
|
| 470 |
mOldNumScramble = LEVELS_SHOWN+1; |
|
| 471 |
|
|
| 471 | 472 |
mLevel = new Button[LEVELS_SHOWN+1]; |
| 472 | 473 |
|
| 473 | 474 |
mLevel[0] = layout.findViewById(R.id.level1); |
Also available in: Unified diff
Fix a bug with level buttons in objects with less than 9 numScramble.