From: joogab.yun Date: Fri, 9 Jun 2023 02:12:27 +0000 (+0900) Subject: [NUI] Fix incorrect calculation of configGestureCount. X-Git-Tag: submit/tizen_7.0/20230609.151028~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=121e011eef692fe4a5bddb597a03aa20d11beed8;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 a831ade..f46d50c 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -3559,7 +3559,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); @@ -3573,12 +3573,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