Revision 55e6be1d
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/tutorials/TutorialSurfaceView.java | ||
---|---|---|
293 | 293 |
{ |
294 | 294 |
mDragging = false; |
295 | 295 |
mContinuingRotation = false; |
296 |
mBeginningRotation = mPreRender.canRotate();
|
|
296 |
mBeginningRotation= !mPreRender.isTouchBlocked();
|
|
297 | 297 |
} |
298 | 298 |
else |
299 | 299 |
{ |
Also available in: Unified diff
Abstract the part that controls the 'Locked' and 'Back Moves' buttons from the two activities: the main one and the tutorial one.
This code had been duplicated there.