From: daemyung jang Date: Sat, 21 Jun 2014 10:09:24 +0000 (+0900) Subject: No use the animation when text input popup is pressed. X-Git-Tag: dali_1.0.0~31 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=refs%2Fchanges%2F80%2F24180%2F1;hp=a42cab3718714f945c2495a5ee0b2dae4b91c82c No use the animation when text input popup is pressed. [problem] The speed of the pressed effect is too slow than the efl. [cause] The text input popup has a animation duration. [solution] Make the duration is zero. Change-Id: Iec9a0e215cb24157ceb7ebecde519de5da29dea8 Signed-off-by: Adeel Kazmi --- diff --git a/base/dali-toolkit/internal/controls/text-input/text-input-popup-impl.cpp b/base/dali-toolkit/internal/controls/text-input/text-input-popup-impl.cpp index 3fbe619..515a53c 100644 --- a/base/dali-toolkit/internal/controls/text-input/text-input-popup-impl.cpp +++ b/base/dali-toolkit/internal/controls/text-input/text-input-popup-impl.cpp @@ -619,6 +619,7 @@ void TextInputPopup::AddOption(const std::string& name, const std::string& capti option.SetSize( constrainedOptionSize ); option.SetX( mContentSize.x ); option.SetName( name ); + option.SetAnimationTime( 0.0f ); option.ClickedSignal().Connect( this, &TextInputPopup::OnButtonPressed ); mScrollView.Add( option );