blob: 02d2a479a986be318f79a3727edf8e2e8e68b32a [file]
#include "bones/root_bone.hpp"
using namespace rive;
StatusCode RootBone::onAddedClean(CoreContext* context)
{
// Intentionally doesn't call Super(Bone)::onAddedClean and goes straight to
// the super.super TransformComponent as that assumes the parent must be a
// Bone while a root bone is a special case Bone that can be parented to
// other TransformComponents.
return TransformComponent::onAddedClean(context);
}
void RootBone::xChanged() { markTransformDirty(); }
void RootBone::yChanged() { markTransformDirty(); }