Skip to content

Commit

Permalink
[NUI] Remove useless log + Add todo mark about it
Browse files Browse the repository at this point in the history
Signed-off-by: Eunki, Hong <[email protected]>
  • Loading branch information
Eunki, Hong authored and hinohie committed Jun 23, 2023
1 parent 4806ac3 commit 17a5183
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 17a5183

Please sign in to comment.