fiddle easing function

This commit is contained in:
Marks Polakovs 2020-03-20 12:23:48 +00:00
parent 939539c0d5
commit b8529210f1

View file

@ -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 }));