Project

General

Profile

« Previous | Next » 

Revision 4d23405c

Added by Leszek Koltunski about 4 years ago

Bugfix in StateSolving upper text - before when we won, and NewRecord dialog was on the screen, and at tis moment we rotated the screen, the uppoer text would revert back to 'Ready?'

View differences:

src/main/java/org/distorted/main/RubikPostRender.java
515 515
          if( i==BaseEffect.Type.SCRAMBLE.ordinal() )
516 516
            {
517 517
            final RubikActivity act = (RubikActivity)mView.getContext();
518
            RubikStateSolving solving = (RubikStateSolving)RubikState.SOLV.getStateClass();
519
            solving.resetUpperText();
518 520

  
519 521
            act.runOnUiThread(new Runnable()
520 522
              {

Also available in: Unified diff