[NUI] Make SynchronousLoading use index key
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 31 Dec 2021 07:03:45 +0000 (16:03 +0900)
committerSeoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com>
Wed, 12 Jan 2022 08:40:18 +0000 (17:40 +0900)
Currently, View.cs 's BackgroundImageLoadingSynchronously use string key, instead of index key.

But all other properties about visuals use index key only.
(Instead of animatable properties)

This patch just sync up with standard frame

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

index cb3f1c0..d62c459 100755 (executable)
@@ -2882,7 +2882,7 @@ namespace Tizen.NUI.BaseComponents
                 {
                     PropertyMap bgMap = this.Background;
                     var temp = new PropertyValue(backgroundImageSynchronousLoading);
-                    bgMap.Add("synchronousLoading", temp);
+                    bgMap[ImageVisualProperty.SynchronousLoading] = temp;
                     temp.Dispose();
                     Background = bgMap;
                 }