mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-12 00:52:40 +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:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user