From: joogab.yun Date: Wed, 21 Feb 2024 04:22:19 +0000 (+0900) Subject: [Tizen] Change the DIRECTION_HORIZONTAL value. X-Git-Tag: accepted/tizen/8.0/unified/20240301.174436~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F306497%2F1;p=platform%2Fcore%2Fuifw%2Fdali-core.git [Tizen] Change the DIRECTION_HORIZONTAL value. 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 --- diff --git a/dali/public-api/events/pan-gesture-detector.cpp b/dali/public-api/events/pan-gesture-detector.cpp index 224ae34..47c4ae2 100644 --- a/dali/public-api/events/pan-gesture-detector.cpp +++ b/dali/public-api/events/pan-gesture-detector.cpp @@ -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);