mCameraForChildren.SetParentOrigin(ParentOrigin::CENTER);
mActorForChildren = ImageActor::New();
- mActorForChildren.SetPositionInheritanceMode( Dali::USE_PARENT_POSITION );
+ mActorForChildren.SetParentOrigin( ParentOrigin::CENTER );
mActorForChildren.ScaleBy( Vector3(1.0f, -1.0f, 1.0f) );
mActorPostFilter = ImageActor::New();
SetupProperties();
}
-void EffectsView::OnControlSizeSet(const Vector3& targetSize)
+void EffectsView::OnSizeSet(const Vector3& targetSize)
{
+ Control::OnSizeSet( targetSize );
+
mTargetSize = Vector2(targetSize);
// if we are already on stage, need to update render target sizes now to reflect the new size of this actor
{
mFilters[i]->Disable();
}
+
+ Control::OnStageDisconnection();
}
void EffectsView::SetupFilters()