From 436c97293953b6c302986ebe5246dedd62448455 Mon Sep 17 00:00:00 2001 From: "joogab.yun" Date: Wed, 21 Feb 2024 13:22:19 +0900 Subject: [PATCH] Change the DIRECTION_HORIZONTAL value. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4