Increase the pan gesutre threshold. 32/24132/1
authordaemyung jang <dm86.jang@samsung.com>
Mon, 23 Jun 2014 08:04:33 +0000 (17:04 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 16:00:49 +0000 (17:00 +0100)
[problem] The scroll view is too sensitive.
[cause] The pan threshold is little.
[solution] Increase the pan gesture threshold.

Change-Id: Ia84df6092a1763d0d677ce1a3adc9c0ac10ed51d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
adaptors/tizen/internal/common/events/pan-gesture-detector-base.cpp

index e03fc64..22d54a0 100644 (file)
@@ -40,7 +40,7 @@ namespace Adaptor
 namespace
 {
 // TODO: Used DPD Value.
-const float MINIMUM_MOTION_BEFORE_PAN_SQUARED( 8.0f * 8.0f );
+const float MINIMUM_MOTION_BEFORE_PAN_SQUARED( 15.0f * 15.0f );
 const unsigned long MAXIMUM_TIME_DIFF_ALLOWED( 500 );
 } // unnamed namespace