Add linting
This commit is contained in:
parent
76282a4cf7
commit
40a660b7cb
1 changed files with 232 additions and 329 deletions
|
|
@ -36,9 +36,7 @@ export class Autoscaler {
|
|||
|
||||
const previousTarget = this.targets[floor];
|
||||
const nextTarget =
|
||||
floor + 1 == this.targets.length
|
||||
? previousTarget
|
||||
: this.targets[floor + 1];
|
||||
floor + 1 == this.targets.length ? previousTarget : this.targets[floor + 1];
|
||||
|
||||
this.setters.forEach((setter, i) =>
|
||||
setter(mix(previousTarget[i], nextTarget[i], fract))
|
||||
|
|
|
|||
Loading…
Reference in a new issue