[NUI] Fix Shadow issue when we set BoxShadow = null (#3265)
authorEunki Hong <h.pichulia@gmail.com>
Wed, 7 Jul 2021 01:24:55 +0000 (10:24 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 9 Jul 2021 10:39:50 +0000 (19:39 +0900)
commitb75b2770f4bcfae71b0567faf78131075ef93898
tree28da535a7ef7a322a5f552939ffedfb5f665c187
parent707b7851c000abd3bf291139be7991d1c91e1978
[NUI] Fix Shadow issue when we set BoxShadow = null (#3265)

When we set view.BoxShadow.Color = new Color(~~);
BoxShadow.Color have same reference with noColor.
So noColor also become changed

We make another refernce when setup Color by noColor.
Now Color doesn't have same reference with noColor.

(Same jobs doing for noOffset and noExtents)

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/ViewProperty/Shadow.cs
src/Tizen.NUI/src/public/ViewProperty/ShadowBase.cs