1 #include "rive/bones/root_bone.hpp"
5 StatusCode RootBone::onAddedClean(CoreContext* context) {
6 // Intentionally doesn't call Super(Bone)::onAddedClean and goes straight to
7 // the super.super TransformComponent as that assumes the parent must be a
8 // Bone while a root bone is a special case Bone that can be parented to
9 // other TransformComponents.
10 return TransformComponent::onAddedClean(context);
13 void RootBone::xChanged() { markTransformDirty(); }
14 void RootBone::yChanged() { markTransformDirty(); }