Skip to content

Commit

Permalink
Removed obsolete attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuijten committed Aug 4, 2015
1 parent 8eab30a commit edc35ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ public void onDraw(Canvas canvas) {
left += layerWidth;
}

offset -= speed;

if (isStarted) {
offset -= speed;
postInvalidateOnAnimation();
}
}
Expand Down
2 changes: 0 additions & 2 deletions library/src/main/res/values/attr.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="ParallaxView">
<attr name="accelerationDuration" format="integer" />
<attr name="decelerationDuration" format="integer" />
<attr name="speed" format="dimension" />
<attr name="src" format="reference" />
</declare-styleable>
Expand Down

0 comments on commit edc35ad

Please sign in to comment.