Revision 576afdf9
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/bandaged/BandagedCubit.java | ||
---|---|---|
13 | 13 |
import android.graphics.Canvas; |
14 | 14 |
import android.graphics.Paint; |
15 | 15 |
|
16 |
import org.distorted.library.effect.EffectType; |
|
16 | 17 |
import org.distorted.library.effect.FragmentEffectBrightness; |
17 | 18 |
import org.distorted.library.effect.MatrixEffectMove; |
18 | 19 |
import org.distorted.library.effect.MatrixEffectQuaternion; |
... | ... | |
267 | 268 |
|
268 | 269 |
public void setUnmarked() |
269 | 270 |
{ |
270 |
if( mMarkedEffectID>=0 ) |
|
271 |
{ |
|
272 |
mEffects.abortById(mMarkedEffectID); |
|
273 |
mMarkedEffectID = -1; |
|
274 |
} |
|
271 |
mEffects.abortByType(EffectType.FRAGMENT); |
|
272 |
mMarkedEffectID = -1; |
|
275 | 273 |
} |
276 | 274 |
|
277 | 275 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Workaround (real reason not found) for the issue when furious touching the screen in the BandagedCreator could sometimes leave a cubit permanently lit.