const float ScrollView::DEFAULT_SLOW_SNAP_ANIMATION_DURATION(0.5f);
const float ScrollView::DEFAULT_FAST_SNAP_ANIMATION_DURATION(0.25f);
-const float ScrollView::DEFAULT_SNAP_OVERSHOOT_DURATION(1.0f);
+const float ScrollView::DEFAULT_SNAP_OVERSHOOT_DURATION(0.5f);
const float ScrollView::DEFAULT_MAX_OVERSHOOT(100.0f); // 100 pixels
const float ScrollView::DEFAULT_AXIS_AUTO_LOCK_GRADIENT(0.36f);
return GetImpl(*this).GetCurrentScrollPosition();
}
+void ScrollView::SetScrollPosition(const Vector3& position)
+{
+ GetImpl(*this).SetScrollPosition(position);
+}
+
Vector3 ScrollView::GetCurrentScrollScale() const
{
return GetImpl(*this).GetCurrentScrollScale();