Project

General

Profile

« Previous | Next » 

Revision eb49fa90

Added by Leszek Koltunski over 2 years ago

Use the off-center objects to display the object in Tutorial mode properly.
Now it is not covered by the right bar!

View differences:

src/main/java/org/distorted/tutorials/TutorialSurfaceView.java
48 48
      mScreenWidth = width;
49 49
      mScreenHeight= height;
50 50
      mObjectController.setScreenSize(width,height);
51
      mObjectController.setMove( (int)(-0.5f*width*TutorialActivity.BAR_RATIO), 0);
51 52
      }
52 53

  
53 54
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff