Scrollview Ensure Overshoot is shown even if Y ruler is the same as Scrollview height
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / internal / controls / scrollable / scroll-view / scroll-view-impl.cpp
index 1b987dc..96a9c84 100644 (file)
@@ -974,7 +974,7 @@ void ScrollView::UpdatePropertyDomain(const Vector3& size)
     domainChanged = true;
     min.y = 0.0f;
     max.y = 0.0f;
-    canScrollHorizontal = false;
+    canScrollVertical = false;
   }
 
   // avoid setting properties if possible, otherwise this will cause an entire update as well as triggering constraints using each property we update