Scrollview Ensure Overshoot is shown even if Y ruler is the same as Scrollview height 02/24202/1
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Mon, 30 Jun 2014 15:04:54 +0000 (16:04 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 17:48:02 +0000 (18:48 +0100)
[problem]      Bug meant overshoot was not shown if a y ruler was set that did not allow vertical scrolling
[solution]     Replace erronous line of code

Change-Id: I0edb22ce015e01dde02e3c8ddf94921799fcd550
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
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