Project

General

Profile

« Previous | Next » 

Revision f4a6e8ce

Added by Leszek Koltunski almost 2 years ago

Stars Overlay: fix the 'negative numbers of new stars' mode.

View differences:

src/main/java/org/distorted/overlays/OverlayStars.java
75 75
      Dynamic3D move = new Dynamic3D();
76 76
      move.setMode(Dynamic.MODE_PATH);
77 77
      move.setDuration(DUR_MOV);
78
      move.setCount( mNewStars>0 ? 0.40f : 0.50f );
78
      move.setCount( increase ? 0.40f : 0.50f );
79 79

  
80 80
      float widthS = (mRandom.nextFloat()-0.5f)*mWidth*1.10f;
81 81
      float widthM = widthS + (mRandom.nextFloat()-0.5f)*mWidth*0.2f;

Also available in: Unified diff