From: Syed Khaja Moinuddin Date: Wed, 27 Mar 2013 04:16:56 +0000 (+0900) Subject: OnTouchMove issue fix in EditDate / EditTime. X-Git-Tag: accepted/tizen_2.1/20130425.033138~692 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4aace244eed1f05917e82615b99f2dead1e7ad0e;p=platform%2Fframework%2Fnative%2Fuifw.git OnTouchMove issue fix in EditDate / EditTime. Change-Id: I128daf1cba256eba949376f5496678e7b82e6226 Signed-off-by: Syed Khaja Moinuddin --- diff --git a/src/ui/controls/FUiCtrl_EditDatePresenter.cpp b/src/ui/controls/FUiCtrl_EditDatePresenter.cpp index 7f43956..0659158 100644 --- a/src/ui/controls/FUiCtrl_EditDatePresenter.cpp +++ b/src/ui/controls/FUiCtrl_EditDatePresenter.cpp @@ -824,7 +824,11 @@ _EditDatePresenter::OnTouchMoved(const _Control& source, const _TouchInfo& touch __selectedId = DATETIME_ID_NONE; } - __pEditDate->Invalidate(); + if (__pEditDate->GetDateTimeBar() != null && __pEditDate->GetDateTimeBar()->IsActivated()) + { + return true; + } + return false; } diff --git a/src/ui/controls/FUiCtrl_EditTimePresenter.cpp b/src/ui/controls/FUiCtrl_EditTimePresenter.cpp index d2dd65a..362874d 100755 --- a/src/ui/controls/FUiCtrl_EditTimePresenter.cpp +++ b/src/ui/controls/FUiCtrl_EditTimePresenter.cpp @@ -1046,7 +1046,11 @@ _EditTimePresenter::OnTouchMoved(const _Control& source, const _TouchInfo& touch __selectedId = DATETIME_ID_NONE; } - __pEditTime->Invalidate(); + if (__pEditTime->GetDateTimeBar() != null && __pEditTime->GetDateTimeBar()->IsActivated()) + { + return true; + } + return false; }