On Fri, Oct 16, 2015 at 5:51 PM, Marcus Cavanaugh <[email protected]> wrote:
> For clarity: The current implementation calculates the Y-velocity, only > dismissing if the velocity is large enough. The reason the current > implementation didn't use an angle-based calculation is because I had > wanted to emulate iOS's physics-based behavior, in which you can drag a > card upward a long distance, hold it there, and let go, sending the card > back down without dismissing it. > > That said, I'm open to trying other approaches, and it's not hard to swap > them out, so whatever works best sounds great to me. :) > Oh I meant using the angle-based calculation to lock the scroll, not to decide if the app should close or not.
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

