In some cases, the cursor layer actor is not visible.
Because the text background actor is positioned above the cursor layer actor.
This patch ensures that the cursor layer actor is always on the top.
Change-Id: I1f601e9e648e2983a2703bda03c82cd92bcff16f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
{
highlightActor = *it;
}
+ else if(it->GetProperty<std::string>(Dali::Actor::Property::NAME) == "CursorLayerActor")
+ {
+ it->RaiseToTop();
+ }
}
clippingDecorationActors.clear();
{
layer.SetProperty(Actor::Property::NAME, "ActiveLayerActor");
}
- else if(type == DecorationType::CURSOR_LAYER)
- {
- layer.SetProperty(Actor::Property::NAME, "CursorLayerActor");
- }
#endif
bool needsClipping = false;
if(type == DecorationType::CURSOR_LAYER)
{
needsClipping = true;
+ layer.SetProperty(Actor::Property::NAME, "CursorLayerActor");
}
layer.SetProperty(Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER);