From: Seungho, Baek Date: Mon, 18 Feb 2019 05:42:49 +0000 (+0900) Subject: [Tizen] Fix Underline property issue X-Git-Tag: accepted/tizen/unified/20190219.154102~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37aa0a10ec79cdd03f32f71b9cb29974a16350dd;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git [Tizen] Fix Underline property issue This reverts commit 5c6e53d0a0f3d2a4216bf3c37b18c9e5889e8078. --- diff --git a/dali-toolkit/internal/text/text-effects-style.cpp b/dali-toolkit/internal/text/text-effects-style.cpp index f65655b..10d9da4 100755 --- a/dali-toolkit/internal/text/text-effects-style.cpp +++ b/dali-toolkit/internal/text/text-effects-style.cpp @@ -358,16 +358,9 @@ void GetUnderlineProperties( ControllerPtr controller, Property::Value& value, E { Property::Map map; - const std::string enabledStr = enabled ? TRUE_TOKEN : FALSE_TOKEN; - map.Insert( ENABLE_KEY, enabledStr ); - - std::string colorStr; - Vector4ToColorString( color, colorStr ); - map.Insert( COLOR_KEY, colorStr ); - - std::string heightStr; - FloatToString( height, heightStr ); - map.Insert( HEIGHT_KEY, heightStr ); + map.Insert( ENABLE_KEY, enabled ); + map.Insert( COLOR_KEY, color ); + map.Insert( HEIGHT_KEY, height ); value = map; }