commit c558f011614edcde8c855929e290ae8ee43910e3
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Tue Jun 23 18:08:53 2020 +0100

    Improve setting text size in Spinners (forgotten part).

diff --git a/src/main/java/org/distorted/main/RubikSurfaceView.java b/src/main/java/org/distorted/main/RubikSurfaceView.java
index ef147934..cb61716e 100644
--- a/src/main/java/org/distorted/main/RubikSurfaceView.java
+++ b/src/main/java/org/distorted/main/RubikSurfaceView.java
@@ -73,7 +73,6 @@ public class RubikSurfaceView extends GLSurfaceView
 
     private float mRotAngle;
     private int mPtrID1, mPtrID2;
-    private int mNumFingersDown;
     private float mX, mY;
     private float mStartRotX, mStartRotY;
     private float mAxisX, mAxisY;
@@ -142,16 +141,6 @@ public class RubikSurfaceView extends GLSurfaceView
       mMovement = movement;
       }
 
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-    private Static4D quatFromAngle(float angle)
-      {
-      float cosA = (float)Math.cos(angle);
-      float sinA =-(float)Math.sin(angle);
-
-      return new Static4D(0, 0, sinA, cosA);
-      }
-
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
     private Static4D quatFromDrag(float dragX, float dragY)
@@ -527,7 +516,6 @@ public class RubikSurfaceView extends GLSurfaceView
 
     private void actionDown(MotionEvent event)
       {
-      mNumFingersDown++;
       mPtrID1 = event.getPointerId(0);
 
       float x = event.getX();
@@ -543,8 +531,6 @@ public class RubikSurfaceView extends GLSurfaceView
 
     private void actionUp(MotionEvent event)
       {
-      mNumFingersDown--;
-
       mPtrID1 = INVALID_POINTER_ID;
       mPtrID2 = INVALID_POINTER_ID;
 
@@ -556,6 +542,7 @@ public class RubikSurfaceView extends GLSurfaceView
       if( mLastCubitColor>=0 )
         {
         mPreRender.setTextureMap( mLastCubit, mLastCubitFace, mLastCubitColor );
+        mLastCubitColor = -1;
         }
       }
 
@@ -563,8 +550,6 @@ public class RubikSurfaceView extends GLSurfaceView
 
     private void actionDown2(MotionEvent event)
       {
-      mNumFingersDown++;
-
       int index = event.getActionIndex();
 
       if( mPtrID1==INVALID_POINTER_ID )
@@ -626,8 +611,6 @@ public class RubikSurfaceView extends GLSurfaceView
 
     private void actionUp2(MotionEvent event)
       {
-      mNumFingersDown--;
-
       int index = event.getActionIndex();
 
       if( index==event.findPointerIndex(mPtrID1) )
@@ -672,8 +655,6 @@ public class RubikSurfaceView extends GLSurfaceView
         mPtrID1 = INVALID_POINTER_ID;
         mPtrID2 = INVALID_POINTER_ID;
 
-        mNumFingersDown = 0;
-
         mRenderer  = new RubikRenderer(this);
         mPreRender = new RubikPreRender(this);
 
