[problem] ScrollView is stopped and not snapped
[cause] mGestureStackDepth is not zero so FinishTransform is not called
[solution] Reset mGestureStackDepth when panning is interrupted by ScrollTo
Change-Id: I694cc769279c1e25039dbe0660eda542dfdd9a8e
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
{
DALI_LOG_SCROLL_STATE("[0x%X] Interrupting Pan, set to false", this );
mPanning = false;
+ mGestureStackDepth = 0;
self.SetProperty( mPropertyPanning, false );
if( mScrollMainInternalPrePositionConstraint )
{
FinishTransform();
}
+ else
+ {
+ DALI_LOG_SCROLL_STATE("[0x%X] mGestureStackDepth[%d]", this, mGestureStackDepth);
+ }
}
}