[3.0] Fixed bug that text is hidden by selection area 20/107420/1 submit/tizen_3.0/20161228.124257
authorsuhyung Eom <suhyung.eom@samsung.com>
Wed, 28 Dec 2016 04:18:49 +0000 (13:18 +0900)
committersuhyung Eom <suhyung.eom@samsung.com>
Wed, 28 Dec 2016 04:19:20 +0000 (13:19 +0900)
If layer behavior is 3D, selection highlight actor hide text actor in textField
Fixed by changing selection highlight actor's Z position in case of
Layer_3D is used

Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I396227c0c110043a69976076d6b8f00379c358b7

dali-toolkit/internal/text/decorator/text-decorator.cpp

index da49940..8040d74 100644 (file)
@@ -1162,7 +1162,7 @@ struct Decorator::Impl : public ConnectionTracker
     {
       // Sets the position of the highlight actor inside the decorator.
       mHighlightActor.SetPosition( mHighlightPosition.x,
-                                   mHighlightPosition.y );
+                                   mHighlightPosition.y, -0.0001f );
 
       const unsigned int numberOfQuads = mHighlightQuadList.Count();
       if( 0u != numberOfQuads )