Skip to content

Commit

Permalink
fixed issues#292
Browse files Browse the repository at this point in the history
  • Loading branch information
liyujiang-gzu committed Aug 31, 2022
1 parent bc5add2 commit fc40392
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import android.content.res.TypedArray;
import android.graphics.Camera;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Path;
Expand Down Expand Up @@ -950,10 +949,7 @@ private void drawCurtain(Canvas canvas) {
if (!curtainEnabled) {
return;
}
int red = Color.red(curtainColor);
int green = Color.green(curtainColor);
int blue = Color.blue(curtainColor);
paint.setColor(Color.argb(128, red, green, blue));
paint.setColor(curtainColor);
paint.setStyle(Paint.Style.FILL);
if (curtainRadius > 0) {
Path path = new Path();
Expand Down

0 comments on commit fc40392

Please sign in to comment.