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

[fixed] resistance attenuating when drag distance overflows basis
ClosedPublic

Authored by appsforartists on Fri, Sep 8, 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.Fri, Sep 8, 4:55 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptFri, Sep 8, 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!Fri, Sep 8, 5:07 PM
appsforartists edited the summary of this revision. (Show Details)Tue, Sep 19, 6:39 PM
featherless accepted this revision.Wed, Sep 20, 5:36 PM
This revision is now accepted and ready to land.Wed, Sep 20, 5:36 PM
This revision was automatically updated to reflect the committed changes.