Revision e9397ae9
Added by Leszek Koltunski 6 months ago
src/main/java/org/distorted/playui/PlayLibInterface.java | ||
---|---|---|
202 | 202 |
@Override |
203 | 203 |
public void run() |
204 | 204 |
{ |
205 |
ScreenScrambling screen = (ScreenScrambling)ScreenList.SCRA.getScreenClass(); |
|
206 |
screen.setReady(); |
|
205 |
ScreenList.switchScreen(act,ScreenList.READ); |
|
207 | 206 |
ObjectControl control = act.getControl(); |
208 | 207 |
control.unblockEverything(); |
209 | 208 |
} |
... | ... | |
244 | 243 |
|
245 | 244 |
public void onBeginRotation() |
246 | 245 |
{ |
247 |
if( ScreenList.getCurrentScreen()==ScreenList.SCRA )
|
|
246 |
if( ScreenList.getCurrentScreen()==ScreenList.READ )
|
|
248 | 247 |
{ |
249 | 248 |
ScreenSolving solving = (ScreenSolving) ScreenList.SOLV.getScreenClass(); |
250 | 249 |
solving.resetElapsed(); |
251 | 250 |
PlayActivity act = mAct.get(); |
251 |
ScreenList.switchScreen( act,ScreenList.SOLV ); |
|
252 | 252 |
|
253 |
/* |
|
253 | 254 |
act.runOnUiThread(new Runnable() |
254 | 255 |
{ |
255 | 256 |
@Override |
256 | 257 |
public void run() |
257 | 258 |
{ |
258 |
ScreenList.switchScreen( act,ScreenList.SOLV ); |
|
259 |
|
|
259 | 260 |
} |
260 | 261 |
}); |
262 |
|
|
263 |
*/ |
|
261 | 264 |
} |
262 | 265 |
} |
263 | 266 |
|
Also available in: Unified diff
Progress with the generic PlayActivity.