removed unnecessary opacity

This commit is contained in:
nurjinn jafar 2020-12-18 15:32:44 +01:00
parent 2305811271
commit 3d1327ecec

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);
}