From f2dd397e4e69bd328fb82c5269edb0837930e192 Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Tue, 28 Nov 2023 20:15:17 +0900 Subject: [PATCH] [Tizen] Fix broken text rendering issue with emoji float casting is important in RegisterUniqueProperty Change-Id: I2c5265a805aeb4d3a95427e730626d336ac0109e Signed-off-by: Bowon Ryu --- dali-toolkit/internal/visuals/text/text-visual.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali-toolkit/internal/visuals/text/text-visual.cpp b/dali-toolkit/internal/visuals/text/text-visual.cpp index b3801f6..33e2c41 100644 --- a/dali-toolkit/internal/visuals/text/text-visual.cpp +++ b/dali-toolkit/internal/visuals/text/text-visual.cpp @@ -276,7 +276,7 @@ void TextVisual::OnInitialize() mImpl->mRenderer = VisualRenderer::New(geometry, shader); mImpl->mRenderer.ReserveCustomProperties(CUSTOM_PROPERTY_COUNT); - mHasMultipleTextColorsIndex = mImpl->mRenderer.RegisterUniqueProperty("uHasMultipleTextColors", false); + mHasMultipleTextColorsIndex = mImpl->mRenderer.RegisterUniqueProperty("uHasMultipleTextColors", static_cast(false)); } void TextVisual::DoSetProperties(const Property::Map& propertyMap) -- 2.7.4