DroidFish: Disable hardware acceleration in the color picker. A

ComposeShader using two LinearGradient shaders is not supported when
using hardware acceleration.
This commit is contained in:
Peter Osterlund 2015-12-20 12:54:46 +01:00
parent e467c154a9
commit 684ecce385

View File

@ -196,7 +196,7 @@ public class ColorPickerView extends View {
mAlphaTextPaint.setTextAlign(Align.CENTER);
mAlphaTextPaint.setFakeBoldText(true);
setLayerType(View.LAYER_TYPE_SOFTWARE, null);
}
private float calculateRequiredOffset(){