From e057914ae716e769b1aebb57633eda907c62f512 Mon Sep 17 00:00:00 2001 From: AdunFang <30402408+AdunFang@users.noreply.github.com> Date: Tue, 11 Feb 2025 14:49:32 +0800 Subject: [PATCH] [Optimization][Issue23] Correct the DALi call of set Rectangle. (#6652) * [Optimization] Add int/float/vector to PropertyMap directly. * [Optimization][Issue23] Correct the DALi call of set Rectangle. --- src/Tizen.NUI/src/public/Common/PropertyMap.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tizen.NUI/src/public/Common/PropertyMap.cs b/src/Tizen.NUI/src/public/Common/PropertyMap.cs index 5c93f327717..6828dc0ac0d 100755 --- a/src/Tizen.NUI/src/public/Common/PropertyMap.cs +++ b/src/Tizen.NUI/src/public/Common/PropertyMap.cs @@ -779,7 +779,7 @@ internal PropertyMap Add(int key, Rectangle value) Tizen.Log.Error("NUI", $"The key {key} already exists. please do not use duplicate key"); } - Interop.PropertyMap.AddVector4(SwigCPtr, key, value.X, value.Y, value.Width, value.Height); + Interop.PropertyMap.AddRectangle(SwigCPtr, key, value.SwigCPtr); } if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();