summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
63a4af2)
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.
Change-Id: Ied60fd820978d1dcd03fee53b1b105cce750645d
mVisual.SetTransformAndSize( transformMap, size );
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.
+ Toolkit::Visual::Base visual = DevelControl::GetVisual( *this, Toolkit::ImageView::Property::IMAGE );
+ if( visual && visual != mVisual )
+ {
+ visual.SetTransformAndSize( transformMap, size );
+ }