mirror of
https://github.com/danog/telegram-tt.git
synced 2024-12-12 00:59:52 +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) => {
|
addReducer('setDeviceToken', (global, actions, deviceToken) => {
|
||||||
setGlobal({
|
setGlobal({
|
||||||
...global,
|
...global,
|
||||||
|
@ -145,7 +145,7 @@ function scrollWithJs(
|
|||||||
}
|
}
|
||||||
|
|
||||||
function longTransition(t: number) {
|
function longTransition(t: number) {
|
||||||
return t === 1 ? 1 : 1 - 2 ** (-10 * t);
|
return 1 - ((1 - t) ** 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
function shortTransition(t: number) {
|
function shortTransition(t: number) {
|
||||||
|
Loading…
Reference in New Issue
Block a user