From: Paul Wisbey
Date: Sun, 15 Feb 2015 18:32:30 +0000 (+0000)
Subject: Fixed TextLabel color
X-Git-Tag: new_text_0.1~46
X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=30ead727af1371695a21bccc5be36f58912090ca
Fixed TextLabel color
Change-Id: I8b1c2e4d55de2cc2d56a5e35257263314d1aaee8
---
diff --git a/dali-toolkit/public-api/text/rendering/basic/text-basic-renderer.cpp b/dali-toolkit/public-api/text/rendering/basic/text-basic-renderer.cpp
index bde47cf..702eddb 100644
--- a/dali-toolkit/public-api/text/rendering/basic/text-basic-renderer.cpp
+++ b/dali-toolkit/public-api/text/rendering/basic/text-basic-renderer.cpp
@@ -295,6 +295,7 @@ RenderableActor BasicRenderer::Render( Text::ViewInterface& view )
MeshActor actor = MeshActor::New( mImpl->CreateMesh( glyphs, positions, atlas ) );
actor.SetParentOrigin( ParentOrigin::TOP_LEFT );
+ actor.SetColorMode( USE_OWN_MULTIPLY_PARENT_COLOR );
actor.SetAffectedByLighting( false );
ShaderEffect shader = BasicShader::New();