diff options
author | Xiangyin Ma <x1.ma@samsung.com> | 2016-10-14 18:58:11 +0100 |
---|---|---|
committer | Xiangyin Ma <x1.ma@samsung.com> | 2016-10-14 18:58:11 +0100 |
commit | ab8c452220b4f35d12838694b4ac75c3a9d9d63b (patch) | |
tree | ff0c50af581962e45993f121dd9b188b2c5660d0 | |
parent | a070a2ff0030927b9672a6a625a24ba65e91b4cb (diff) | |
download | dali-demo-ab8c452220b4f35d12838694b4ac75c3a9d9d63b.tar.gz dali-demo-ab8c452220b4f35d12838694b4ac75c3a9d9d63b.tar.bz2 dali-demo-ab8c452220b4f35d12838694b4ac75c3a9d9d63b.zip |
[3.0] Remove GetRendererAt() from dali-demo
Change-Id: I6f8981be9fdb5de381449710c32f37f61483aea6
-rw-r--r-- | demo/dali-table-view.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/dali-table-view.cpp b/demo/dali-table-view.cpp index 827b665f..f84667e5 100644 --- a/demo/dali-table-view.cpp +++ b/demo/dali-table-view.cpp @@ -252,6 +252,8 @@ void DaliTableView::Initialize( Application& application ) logo.SetAnchorPoint( AnchorPoint::TOP_CENTER ); logo.SetParentOrigin( Vector3( 0.5f, 0.1f, 0.5f ) ); logo.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::ALL_DIMENSIONS ); + // The logo should appear on top of everything. + logo.SetDrawMode( DrawMode::OVERLAY_2D ); // Show version in a popup when log is tapped mLogoTapDetector = TapGestureDetector::New(); @@ -284,8 +286,6 @@ void DaliTableView::Initialize( Application& application ) SetupBackground( bubbleContainer ); mRootActor.Add( logo ); - // We use depth index to bring the logo above the bubbles (as an alternative to creating actors). - logo.GetRendererAt( 0 ).SetProperty( Renderer::Property::DEPTH_INDEX, 30000 ); mRootActor.Add( bubbleContainer ); mRootActor.Add( mScrollView ); |