Lower effect time by 1 second
It feels like it runs a bit too long
This commit is contained in:
parent
a966319c90
commit
ec92be4ec4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue