From b0161740d01e7dab764177a807512faa104149e9 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Wed, 4 Mar 2015 16:18:46 +0000 Subject: [PATCH] Updates after TapGestureDetector API Change Change-Id: Ib4ca3598bde23e804b4a09f6960065c38f5883c3 --- dali-toolkit/internal/controls/text-input/text-input-impl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dali-toolkit/internal/controls/text-input/text-input-impl.cpp b/dali-toolkit/internal/controls/text-input/text-input-impl.cpp index 6d9b9e4..37ed62d 100644 --- a/dali-toolkit/internal/controls/text-input/text-input-impl.cpp +++ b/dali-toolkit/internal/controls/text-input/text-input-impl.cpp @@ -2132,8 +2132,7 @@ void TextInput::SetUpTouchEvents() if ( !mDoubleTapDetector ) { - mDoubleTapDetector = TapGestureDetector::New(); - mDoubleTapDetector.SetTapsRequired( 2 ); + mDoubleTapDetector = TapGestureDetector::New( 2 ); mDoubleTapDetector.DetectedSignal().Connect(this, &TextInput::OnDoubleTap); // Only attach and detach the actor to the double tap detector when we enter/leave edit mode -- 2.7.4