Patch from Matthew Stephenson
[Problem] ScrollTo while timer is active causing undesired effects.
[Solution] Cancel the timer when TransformTo is called.
Change-Id: I6dd96454c0044054d929f30759f05c70e4877cd3
void ScrollView::TransformTo(const Vector3& position, float duration, AlphaFunction alpha,
DirectionBias horizontalBias, DirectionBias verticalBias)
{
+ // If this is called while the timer is running, then cancel it
+ StopTouchDownTimer();
+
Actor self( Self() );
// Guard against destruction during signal emission