From: joogab.yun Date: Fri, 9 Jun 2023 02:12:27 +0000 (+0900) Subject: [NUI] Fix incorrect calculation of configGestureCount. X-Git-Tag: accepted/tizen/unified/20231205.024657~290 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52333347e54c4861c9e9c162929cda44685c920f;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Fix incorrect calculation of configGestureCount. --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index 872519a..fa6392e 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -3599,7 +3599,7 @@ namespace Tizen.NUI.BaseComponents if (dispatch == true) { - configGestureCount = configGestureCount > 0 ? configGestureCount-- : 0; + configGestureCount = configGestureCount > 0 ? configGestureCount - 1 : 0; if (configGestureCount == 0) { panGestureDetector.Detach(this); @@ -3613,12 +3613,6 @@ namespace Tizen.NUI.BaseComponents pinchGestureDetector.Detected -= OnGestureDetected; tapGestureDetector.Detected -= OnGestureDetected; rotationGestureDetector.Detected -= OnGestureDetected; - - panGestureDetector = null; - longGestureDetector = null; - pinchGestureDetector = null; - tapGestureDetector = null; - rotationGestureDetector = null; } } else