From 7e867c66e2147c1d84b8dcca35ae2c9bbae41291 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Fri, 23 Jun 2023 11:11:31 +0900 Subject: [PATCH] [NUI] Remove useless log + Add todo mark about it Signed-off-by: Eunki, Hong --- src/Tizen.NUI/src/public/BaseComponents/ImageView.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index c654a2cca5a..ef696fee237 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -1574,6 +1574,7 @@ protected virtual void UpdateImage() } // Do Fitting Buffer when desired dimension is set + // TODO : Couldn't we do this job in dali-engine side. if (_desired_width != -1 && _desired_height != -1) { if (_resourceUrl != null) @@ -1605,10 +1606,6 @@ protected virtual void UpdateImage() cachedImagePropertyMap[ImageVisualProperty.FittingMode] = scaleToFit; scaleToFit?.Dispose(); } - else - { - Tizen.Log.Fatal("NUI", "[ERROR] Can't use DesiredSize when ImageLoading is failed."); - } imageSize?.Dispose(); } }