Lower effect time by 1 second

It feels like it runs a bit too long
This commit is contained in:
Travis Ralston 2020-12-18 18:40:11 -07:00
parent 77ce8a9e39
commit 4ba89cc437

View file

@ -74,7 +74,7 @@ export default class Fireworks implements ICanvasEffect {
private particles: Array<FireworksParticle> = []; private particles: Array<FireworksParticle> = [];
public isRunning: boolean; public isRunning: boolean;
public start = async (canvas: HTMLCanvasElement, timeout = 4000) => { public start = async (canvas: HTMLCanvasElement, timeout = 3000) => {
if (!canvas) { if (!canvas) {
return; return;
} }