mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-12-20 13:49:07 +00:00
fix transition
Change-Id: I5dd3cedba88837ff7fdf90fef8dfda8edcd251f7 Signed-off-by: Zhang Peng <zhangpeng280@huawei.com>
This commit is contained in:
parent
0fa479413a
commit
22e1a74fed
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user