[Tizen] Change the DIRECTION_HORIZONTAL value. 97/306497/1
authorjoogab.yun <joogab.yun@samsung.com>
Wed, 21 Feb 2024 04:22:19 +0000 (13:22 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Thu, 22 Feb 2024 05:55:20 +0000 (14:55 +0900)
There is no difference in actual operation,
but the values ​​of DIRECTION_LEFT and DIRECTION_HORIZONTAL are matched just as DIRECTION_UP and DIRECTION_VERTICAL are the same.

Change-Id: I2c39ab7c48cb57e66ac5992a1e4134be7bed100b

dali/public-api/events/pan-gesture-detector.cpp

index 224ae34..47c4ae2 100644 (file)
@@ -27,7 +27,7 @@ const Radian PanGestureDetector::DIRECTION_LEFT(-Math::PI);
 const Radian PanGestureDetector::DIRECTION_RIGHT(0.0f);
 const Radian PanGestureDetector::DIRECTION_UP(-0.5f * Math::PI);
 const Radian PanGestureDetector::DIRECTION_DOWN(0.5f * Math::PI);
-const Radian PanGestureDetector::DIRECTION_HORIZONTAL(Math::PI);
+const Radian PanGestureDetector::DIRECTION_HORIZONTAL(-Math::PI);
 const Radian PanGestureDetector::DIRECTION_VERTICAL(-0.5f * Math::PI);
 const Radian PanGestureDetector::DEFAULT_THRESHOLD(0.25f * Math::PI);