mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-06 20:29:10 +01:00
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:
parent
e467c154a9
commit
684ecce385
|
@ -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(){
|
||||
|
|
Loading…
Reference in New Issue
Block a user