Fix Blend Mode
This commit is contained in:
1 parent
d37bec5cb9
commit
9e6a846bfa
1 file changed
+2
@@ -87,6 +87,8 @@ export class BrandAccent implements OnDestroy {
|
||||
|
||||
private draw() {
|
||||
this.ctx.clearRect(0, 0, this.canvasNativeSize[0], this.canvasNativeSize[1]);
|
||||
this.ctx.globalCompositeOperation = 'source-over';
|
||||
|
||||
const linearGradient = this.ctx.createLinearGradient(0, 0, this.canvasNativeSize[0], this.canvasNativeSize[1]);
|
||||
|
||||
linearGradient.addColorStop(0, 'oklch(1 0 0 / 0.6)');
|
||||
|
||||
Reference in new issue
Block a user