Project

General

Profile

« Previous | Next » 

Revision 5b5b958a

Added by Leszek Koltunski 2 months ago

progress with configurable stickers

View differences:

src/main/java/org/distorted/config/ConfigActivity.java
170 170
      if( mPane!=null )
171 171
        {
172 172
        int color  = mPane.getCurrentColor();
173
        int borders= mPane.getCurrentBorders();
174
        int corners= mPane.getCurrentCorners();
175
        float border_step = ConfigScreenPane.BORDER_STEPS[borders];
176
        float corner_step = ConfigScreenPane.CORNER_STEPS[corners];
177

  
178 173
        ConfigSurfaceView view = findViewById(R.id.configSurfaceView);
179 174
        ObjectControl control = view.getObjectControl();
180
        control.repaintPuzzleFace(cubit,face,color,border_step,corner_step);
175
        control.repaintPuzzleFace(cubit,face,color);
181 176
        }
182 177
      }
183 178

  

Also available in: Unified diff