mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Lower effect time by 1 second
It feels like it runs a bit too long
This commit is contained in:
parent
77ce8a9e39
commit
4ba89cc437
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