[NUI][API11] Fix error if LottieAnimationView set BackgroundData before set URL
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 15 Feb 2024 06:31:17 +0000 (15:31 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Mon, 19 Feb 2024 04:56:19 +0000 (13:56 +0900)
commit13df0abbfe867574ca79a7863a56f3c7811bef2b
tree2cacf38ca794416215c712818dfb3d0b5ca29903
parente20233f0d8c7ec6f49fa7a966ead8048c0a468a0
[NUI][API11] Fix error if LottieAnimationView set BackgroundData before set URL

Since LottieAnimationView.URL property change whole Visual property by itself, CornerRadius / Borderline properties become ignored when we set URL.

```
lav = new LottieAnimationView();
lav.CornerRadius = new Vector4(100.0f, 100.0f, 100.0f, 100.0f);
lav.URL = "~~~.json"; ///< CornerRadius information ignored.
```

To avoid this case, let we ensure to set CornerRadius / Borderline if we set URL

Same PR with #5951

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs