Project

General

Profile

« Previous | Next » 

Revision f781325a

Added by Leszek Koltunski over 1 year ago

Bugfixes for touch control - specifically for furious swiping and concurrect backing of moves.

View differences:

src/main/java/org/distorted/helpers/MovesController.java
85 85

  
86 86
      if( numMoves>0 )
87 87
        {
88
        Move move   = mMoves.remove(numMoves-1);
89
        int axis    = move.mAxis;
90
        int angle   = move.mAngle;
88
        Move move = mMoves.remove(numMoves-1);
89
        int axis  = move.mAxis;
90
        int angle = move.mAngle;
91 91

  
92 92
        if( angle!=0 )
93 93
          {
......
98 98
          }
99 99
        else
100 100
          {
101
          android.util.Log.e("solution", "error: trying to back move of angle 0");
101
          android.util.Log.e("backMove", "error: trying to back move of angle 0");
102 102
          }
103 103

  
104 104
        if( numMoves==1 ) changeBackMove(act, false);

Also available in: Unified diff