You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added inertia to my most recent PR for this project, this allows you to control how fast the throw action occurs and can now be sped up or reduced.
I'm using DradDealer for a gallery similar to the cars demo. However, I've noted that swiping is too slow, because the range for sliding is low.
I've found in the source code the following commands:
target[0] += ratioChange[0] * 4;
target[1] += ratioChange[1] * 4;
The number 4 is the value I'm looking for, and changing its value to something bigger gives me the effect I want.
It would be nice that instead of editing the source code, it was provided as a customizable option.
The text was updated successfully, but these errors were encountered: