• Changed Files
  • packages/core/src/interactions/Tossable.ts

[fixed] resistance attenuating when drag distance overflows basis
ClosedPublic

Authored by appsforartists on Sep 8 2017, 4:55 PM.

Details

Summary

There was an implicit assumption that the amount a drag overflows was less than the resistance basis. By capping the ratio at 1, we remove this assumption and support arbitrary values of either.

Diff Detail

Repository
R13 material-motion/material-motion-js
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
appsforartists created this revision.Sep 8 2017, 4:55 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptSep 8 2017, 4:55 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O3: Material JavaScript platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
Restricted Application failed to build Restricted Buildable!Sep 8 2017, 5:07 PM
appsforartists edited the summary of this revision. (Show Details)Sep 19 2017, 6:39 PM
featherless accepted this revision.Sep 20 2017, 5:36 PM
This revision is now accepted and ready to land.Sep 20 2017, 5:36 PM
This revision was automatically updated to reflect the committed changes.