summaryrefslogtreecommitdiff
path: root/libs/hwui/Animator.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2017-01-11 11:26:43 -0800
committerJohn Reck <jreck@google.com>2017-01-11 11:26:48 -0800
commit41282b7629714b397b43c81c8c25e9d15e2bb935 (patch)
tree098776dc3248ff92f43ea5ffb211c1aa7108be99 /libs/hwui/Animator.cpp
parentbede012069321f7e1a264ac3ed55f45f39102627 (diff)
Fix dirty Z prop
Test: none Change-Id: I886d50e58d6f404c6d19860a3032ca1b2854e073
Diffstat (limited to 'libs/hwui/Animator.cpp')
-rw-r--r--libs/hwui/Animator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Animator.cpp b/libs/hwui/Animator.cpp
index 74aa3033ee12..b6fbf891f84d 100644
--- a/libs/hwui/Animator.cpp
+++ b/libs/hwui/Animator.cpp
@@ -317,7 +317,7 @@ struct RenderPropertyAnimator::PropertyAccessors {
const RenderPropertyAnimator::PropertyAccessors RenderPropertyAnimator::PROPERTY_ACCESSOR_LUT[] = {
{RenderNode::TRANSLATION_X, &RenderProperties::getTranslationX, &RenderProperties::setTranslationX },
{RenderNode::TRANSLATION_Y, &RenderProperties::getTranslationY, &RenderProperties::setTranslationY },
- {RenderNode::TRANSLATION_X, &RenderProperties::getTranslationZ, &RenderProperties::setTranslationZ },
+ {RenderNode::TRANSLATION_Z, &RenderProperties::getTranslationZ, &RenderProperties::setTranslationZ },
{RenderNode::SCALE_X, &RenderProperties::getScaleX, &RenderProperties::setScaleX },
{RenderNode::SCALE_Y, &RenderProperties::getScaleY, &RenderProperties::setScaleY },
{RenderNode::ROTATION, &RenderProperties::getRotation, &RenderProperties::setRotation },