blob: 8ae5598fbe0ed7b4172f4d6c98a91759181ac464 [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(); }