feat(PlayerFragment): smooth out predictive back progress#6870
feat(PlayerFragment): smooth out predictive back progress#6870FineFindus wants to merge 1 commit intolibre-tube:masterfrom
Conversation
Sets a limit for the maximum progress of the predictive back gesture in the PlayerFragment. Before reaching the maximum progress, the amound of displayed progress is gradually smooth out, such that further progress appears less. This makes the back gesture behave more like the one used by the bottom-sheets. Ref: f143e0d
|
I'm personally not really convinced by this. The goal is to support "full" predictive back gestures for the other fragments as well so that the previous fragment is shown when the back progress is Unfortunately there doesn't seem to be an inbuild way to do so with the |
|
I agree, I've been using this for the last couple of days, and it feels slightly out-of-sync with the OS implementation.
I'm confused, that's already the case for the player with the current implementation? |
Yes, it is, but it's not for the other "normal" fragments such as the |
Sets a limit for the maximum progress of the predictive back gesture in the PlayerFragment. Before reaching the maximum progress, the amount of displayed progress is gradually smooth out, such that further progress appears less.
This makes the back gesture behave more like the one used by the bottom-sheets.
Ref: f143e0d