fix transition

Change-Id: I5dd3cedba88837ff7fdf90fef8dfda8edcd251f7
Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
This commit is contained in:
Zhang Peng 2022-02-25 16:22:37 +08:00
parent 0fa479413a
commit 22e1a74fed
No known key found for this signature in database
GPG Key ID: CCBB4C0B66096A23

View File

@ -448,17 +448,17 @@ void RSNode::SetTranslate(float translateX, float translateY, float translateZ)
void RSNode::SetTranslateX(float translate)
{
SET_ANIMATABLE_PROPERTY(TranslateX, translate, RSAnimatableProperty::TRANSLATE);
SET_ANIMATABLE_PROPERTY(TranslateX, translate, RSAnimatableProperty::TRANSLATE_X);
}
void RSNode::SetTranslateY(float translate)
{
SET_ANIMATABLE_PROPERTY(TranslateY, translate, RSAnimatableProperty::TRANSLATE);
SET_ANIMATABLE_PROPERTY(TranslateY, translate, RSAnimatableProperty::TRANSLATE_Y);
}
void RSNode::SetTranslateZ(float translate)
{
SET_ANIMATABLE_PROPERTY(TranslateZ, translate, RSAnimatableProperty::TRANSLATE);
SET_ANIMATABLE_PROPERTY(TranslateZ, translate, RSAnimatableProperty::TRANSLATE_Z);
}
void RSNode::SetScale(float scale)