Skip to content

Commit

Permalink
[Optimization][Issue23] Correct the DALi call of set Rectangle. (#6652)
Browse files Browse the repository at this point in the history
* [Optimization] Add int/float/vector to PropertyMap directly.

* [Optimization][Issue23] Correct the DALi call of set Rectangle.
  • Loading branch information
AdunFang authored Feb 11, 2025
1 parent a1b3837 commit e057914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tizen.NUI/src/public/Common/PropertyMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e057914

Please sign in to comment.