Fix text relayouter update issue 24/267224/1
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 30 Nov 2021 03:07:36 +0000 (12:07 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 30 Nov 2021 03:07:36 +0000 (12:07 +0900)
commit43255aba62db53f6a8f042687687141fb9de8aa1
tree78fe087a07f3a00a5108146aafe7e558792ba9e6
parent1af459bd1142d21f2ecac5c8b8b527a8006511c2
Fix text relayouter update issue

When the size of the text control is 0,
there is a issue that the mRequestedNumberOfCharacters becomes 0
even if the actural text exists.

This patch avoids this issue by updating mNumberOfCharactersToAdd
in textUpdateInfo in that situation.

Change-Id: I440b39f846aa7c9c410a1d121dae7b8a63b811ae
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/text/text-controller-relayouter.cpp