Message List: Adjust focus animation curve again

This commit is contained in:
Alexander Zinchuk 2021-07-16 02:03:30 +03:00
parent f9dbbb984a
commit 36b183f856
2 changed files with 1 additions and 2 deletions

View File

@ -178,7 +178,6 @@ addReducer('loadNearestCountry', (global) => {
})();
});
addReducer('setDeviceToken', (global, actions, deviceToken) => {
setGlobal({
...global,

View File

@ -145,7 +145,7 @@ function scrollWithJs(
}
function longTransition(t: number) {
return t === 1 ? 1 : 1 - 2 ** (-10 * t);
return 1 - ((1 - t) ** 5);
}
function shortTransition(t: number) {