projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Control) Ensure background-color blends fully with the control color
[platform/core/uifw/dali-toolkit.git]
/
base
/
dali-toolkit
/
public-api
/
controls
/
control-impl.cpp
diff --git
a/base/dali-toolkit/public-api/controls/control-impl.cpp
b/base/dali-toolkit/public-api/controls/control-impl.cpp
index
e45436f
..
74720d0
100644
(file)
--- a/
base/dali-toolkit/public-api/controls/control-impl.cpp
+++ b/
base/dali-toolkit/public-api/controls/control-impl.cpp
@@
-206,6
+206,7
@@
void SetupBackgroundActor( Actor actor, Property::Index constrainingIndex, const
{
actor.SetColor( color );
actor.SetPositionInheritanceMode( USE_PARENT_POSITION_PLUS_LOCAL_POSITION );
{
actor.SetColor( color );
actor.SetPositionInheritanceMode( USE_PARENT_POSITION_PLUS_LOCAL_POSITION );
+ actor.SetColorMode( USE_OWN_MULTIPLY_PARENT_COLOR );
actor.SetZ( BACKGROUND_ACTOR_Z_POSITION );
Constraint constraint = Constraint::New<Vector3>( constrainingIndex,
actor.SetZ( BACKGROUND_ACTOR_Z_POSITION );
Constraint constraint = Constraint::New<Vector3>( constrainingIndex,