mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-11 16:49:44 +01:00
Message List: Adjust focus animation curve again
This commit is contained in:
parent
f9dbbb984a
commit
36b183f856
@ -178,7 +178,6 @@ addReducer('loadNearestCountry', (global) => {
|
||||
})();
|
||||
});
|
||||
|
||||
|
||||
addReducer('setDeviceToken', (global, actions, deviceToken) => {
|
||||
setGlobal({
|
||||
...global,
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user