Project

General

Profile

« Previous | Next » 

Revision 0579fe3a

Added by Leszek Koltunski over 5 years ago

Some fixes for Sphere; still not completely ok though.

View differences:

src/main/java/org/distorted/examples/effects3d/Effects3DActivity.java
165 165
        b.setOnClickListener(this);
166 166
        b.setId(rows*mNumCols+cols);
167 167
        b.setLayoutParams(p);
168
        b.setBackgroundColor(mObjectType==1 ? COLOR_INAC : COLOR_ON);
168
        b.setBackgroundColor(mObjectType==0 ? COLOR_ON:COLOR_INAC);
169 169
        tr.addView(b, p);
170 170
        mShape[rows*mNumCols+cols] = true;
171 171
        }

Also available in: Unified diff