Add Scalable/Tossable interaction demos and fix bug in Tossable state reporting.
ClosedPublic

Authored by featherless on Wed, Mar 15, 6:21 PM.

Details

Summary

Tossable was reporting an at rest state when draggable finished due to the state pool drying up before the spring interaction had a chance to start. By observing the spring's state first and draggable's state last, we ensure that the state pool maintains an active state across the hand-off.

Diff Detail

Repository
rREACTIVEMOTIONSWIFT reactive-motion-swift
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
featherless created this revision.Wed, Mar 15, 6:21 PM
  • Add Tossable example and fix bug with state reporting for Tossable.
Restricted Application completed building Restricted Buildable.Wed, Mar 15, 6:39 PM
featherless retitled this revision from Add Scalable interaction demo. to Add Scalable/Tossable interaction demos and fix bug in Tossable state reporting..Wed, Mar 15, 6:39 PM
featherless edited the summary of this revision. (Show Details)
  • Fix ordering.
Restricted Application completed building Restricted Buildable.Wed, Mar 15, 7:08 PM
  • Fix color of path tween debug line.
  • Add SetPositionOnTap example.
  • Add a spring example and delay operator.
This revision was automatically updated to reflect the committed changes.