Revision f3f3cb09
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
---|---|---|
703 | 703 |
public void recreatePopup() |
704 | 704 |
{ |
705 | 705 |
mObjectPopup = null; |
706 |
|
|
707 |
int numObjects = RubikObjectList.getNumObjects(); |
|
708 |
mRowCount = (numObjects + NUM_COLUMNS-1) / NUM_COLUMNS; |
|
709 |
mColCount = NUM_COLUMNS; |
|
706 | 710 |
} |
707 | 711 |
|
708 | 712 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Another bugfix: it would crash if the new downloaded object creates a new row in the objects popup. Correct that.