mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-02 11:01:23 +02:00
Appease the linter
This commit is contained in:
parent
9263bf7cda
commit
d53ee58b18
@ -117,9 +117,6 @@ export default class Snowfall implements ICanvasEffect {
|
|||||||
}
|
}
|
||||||
const height = this.context.canvas.height;
|
const height = this.context.canvas.height;
|
||||||
for (const particle of arrayFastClone(this.particles)) {
|
for (const particle of arrayFastClone(this.particles)) {
|
||||||
const leftMax = particle.xCol - particle.maximumDrift;
|
|
||||||
const rightMax = particle.xCol + particle.maximumDrift;
|
|
||||||
|
|
||||||
particle.y += particle.gravity;
|
particle.y += particle.gravity;
|
||||||
|
|
||||||
// We treat the drift as a sine function to have a more fluid-like movement instead
|
// We treat the drift as a sine function to have a more fluid-like movement instead
|
||||||
|
Loading…
x
Reference in New Issue
Block a user