Project

General

Profile

« Previous | Next » 

Revision 7ac0ee88

Added by Leszek Koltunski over 2 years ago

Simplify ObjectList: now there's just one object per size.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogNewRecord.java
82 82
          {
83 83
          RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass();
84 84
          int object = play.getObject();
85
          int size   = play.getSize();
86
          int sizeIndex = ObjectList.getSizeIndex(object,size);
87 85

  
88
          bundle.putInt("tab", ObjectList.pack(object,sizeIndex) );
86
          bundle.putInt("tab", object );
89 87
          bundle.putBoolean("submitting", true);
90 88

  
91 89
          RubikDialogScores scoresDiag = new RubikDialogScores();

Also available in: Unified diff