Fix cursor visible issue on text editing 04/272604/1
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 21 Mar 2022 11:10:37 +0000 (20:10 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 21 Mar 2022 11:19:03 +0000 (20:19 +0900)
commit6ba9927d226e40ce57844d837b61397cc721a133
tree09d000716aaaa0757f905194954d73a16dc5e38c
parent16ef097a0b2d3945a5045db7bb2f3896ed5a5a95
Fix cursor visible issue on text editing

I made a prev patch to ensure that the cursor layer is on top.
16ef097a0b2d3945a5045db7bb2f3896ed5a5a95

But cursor layer in clippingDecorationActors(in RednerText) is processed only once.

Therefore, if user edit while the background is present, the cursor still invisible.

This patch passes the cursor layer actor as an argument to RenderText(),
so that the cursor is always on top.

Change-Id: I27e3334f74dbca34aaae18089082125c871935fa
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/controls/text-controls/common-text-utils.cpp
dali-toolkit/internal/controls/text-controls/common-text-utils.h
dali-toolkit/internal/controls/text-controls/text-editor-impl.cpp
dali-toolkit/internal/controls/text-controls/text-field-impl.cpp
dali-toolkit/internal/text/decorator/text-decorator.cpp