[NUI] Fix PointSizeTypeConverter error
authorXianbing Teng <xb.teng@samsung.com>
Fri, 28 Jan 2022 09:28:40 +0000 (17:28 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 8 Feb 2022 04:41:28 +0000 (13:41 +0900)
src/Tizen.NUI/src/public/XamlBinding/PointSizeTypeConverter.cs

index 5002060..8e6a870 100755 (executable)
@@ -37,10 +37,10 @@ namespace Tizen.NUI.Binding
         {
             if(!string.IsNullOrEmpty(value))
             {
-                return (int)GraphicsTypeManager.Instance.Point.ConvertScriptToPoint(value.Trim());
+                return (float)GraphicsTypeManager.Instance.Point.ConvertScriptToPoint(value.Trim());
             }
 
-            throw new InvalidOperationException($"Cannot convert \"{value}\" into {typeof(int)}");
+            throw new InvalidOperationException($"Cannot convert \"{value}\" into {typeof(float)}");
         }
 
         /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.