Skip to content

Commit

Permalink
Changing scrollToRight implementation to use setScrollLeft rather tha…
Browse files Browse the repository at this point in the history
…n incorrectly using setScrollTop

Enyo-DCO-1.1-Signed-off-by: Steven Feaster <steven.feaster@palm.com>
  • Loading branch information
Steven Feaster authored and Steven Feaster committed Jan 15, 2013
1 parent f5aa06c commit ad140fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/touch/Scroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ enyo.kind({
},
//* Scroll to the right edge of the scrolling region.
scrollToRight: function() {
this.setScrollTop(this.getScrollBounds().maxLeft);
this.setScrollLeft(this.getScrollBounds().maxLeft);
},
//* Scroll to the left edge of the scrolling region.
scrollToLeft: function() {
Expand Down

0 comments on commit ad140fe

Please sign in to comment.