From: xb.teng Date: Wed, 10 Oct 2018 02:12:23 +0000 (+0800) Subject: [Tizen] Fix cursor position issue when only placeholder text show X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cad8104b80fb762b60a6a0484adaf1e2a466d0eb;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git [Tizen] Fix cursor position issue when only placeholder text show Change-Id: I6f07179f537a72a8d050e66a1375fc6ee4b179d0 --- diff --git a/dali-toolkit/internal/text/text-controller-impl.cpp b/dali-toolkit/internal/text/text-controller-impl.cpp old mode 100644 new mode 100755 index fbfaf23..1fa0bef --- a/dali-toolkit/internal/text/text-controller-impl.cpp +++ b/dali-toolkit/internal/text/text-controller-impl.cpp @@ -1186,7 +1186,7 @@ float Controller::Impl::GetDefaultFontLineHeight() void Controller::Impl::OnCursorKeyEvent( const Event& event ) { - if( NULL == mEventData ) + if( NULL == mEventData || !IsShowingRealText() ) { // Nothing to do if there is no text input. return;