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>
/// </summary>
internal Shadow(PropertyMap propertyMap) : base(propertyMap)
{
- Color = noColor;
+ Color = new Color(noColor);
PropertyValue pValue = propertyMap.Find(ColorVisualProperty.MixColor);
pValue?.Get(Color);
pValue?.Dispose();
{
Debug.Assert(propertyMap != null);
- Offset = noOffset;
- Extents = noExtents;
+ Offset = new Vector2(noOffset);
+ Extents = new Vector2(noExtents);
var transformProperty = propertyMap.Find(Visual.Property.Transform);