[NUI] Initialize pan direction of ScrollableBase to Vertical (#1292)
authorneostom432 <31119276+neostom432@users.noreply.github.com>
Fri, 10 Jan 2020 05:03:35 +0000 (14:03 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Fri, 10 Jan 2020 05:03:35 +0000 (14:03 +0900)
Initialize pan direction to Vertical in constructor of ScrollableBase.

Co-authored-by: krown <neostom432@nate.com>
src/Tizen.NUI.Components/Controls/ScrollableBase.cs

index caeae77..1018c33 100755 (executable)
@@ -283,6 +283,7 @@ namespace Tizen.NUI.Components
         {
             mPanGestureDetector = new PanGestureDetector();
             mPanGestureDetector.Attach(this);
+            mPanGestureDetector.AddDirection(PanGestureDetector.DirectionVertical);
             mPanGestureDetector.Detected += OnPanGestureDetected;
 
             mTapGestureDetector = new TapGestureDetector();