fiddle easing function
This commit is contained in:
parent
939539c0d5
commit
b8529210f1
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ export const setVolume = (
|
|||
});
|
||||
const gainTween = new Between(currentGain, volume)
|
||||
.time(FADE_TIME_SECONDS * 1000)
|
||||
.easing((Between as any).Easing.Quadratic.InOut)
|
||||
.easing((Between as any).Easing.Exponential.InOut)
|
||||
.on("update", (val: number) => {
|
||||
console.log(val);
|
||||
dispatch(mixerState.actions.setPlayerGain({ player, gain: val }));
|
||||
|
|
Loading…
Reference in a new issue