blob: 354555b2fb9e14bbc9a499457c8c3de2422e11f0 [file] [log] [blame]
#include "rive/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(); }