removed unnecessary opacity

This commit is contained in:
nurjinn jafar 2020-12-18 15:32:44 +01:00 committed by Travis Ralston
parent 2a2c805031
commit 1fd6809388

View file

@ -145,7 +145,6 @@ export default class Fireworks implements ICanvasEffect {
public stop = async () => {
this.isRunning = false;
this.particles = [];
this.context.canvas.style.opacity = "1";
this.context.clearRect(0, 0, this.context.canvas.width, this.context.canvas.height);
}