When the size was set for the new visual, there was an issue that the previous transformMap was set together.
so in order to prevent this, The new visual has been changed to use the initialized map.
Change-Id: I1ce1b735691e1b4963c3d4f3faf07d2c148ad478
mVisual.SetTransformAndSize( transformMap, size );
// mVisual is not updated util the resource is ready in the case of visual replacement.
- // So apply the transform and size to the new visual.
+ // in this case, the Property Map must be initialized so that the previous value is not reused.
+ // after mVisual is updated, the correct value will be reset.
Toolkit::Visual::Base visual = DevelControl::GetVisual( *this, Toolkit::ImageView::Property::IMAGE );
if( visual && visual != mVisual )
{
- visual.SetTransformAndSize( transformMap, size );
+ visual.SetTransformAndSize( Property::Map(), size );
}
}
}