Skip to content

Commit

Permalink
move thumb show back into scrollMathStart
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Mar 30, 2012
1 parent 5b601a4 commit 4db91cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/touch/TouchScrollStrategy.js
Expand Up @@ -184,9 +184,6 @@ enyo.kind({
// note: allow drags to propagate to parent scrollers via data returned in the shouldDrag event.
this.doShouldDrag(inEvent);
this.dragging = (inEvent.dragger == this || (!inEvent.dragger && inEvent.boundaryDragger == this));
if (this.thumb) {
this.showThumbs();
}
if (this.dragging) {
inEvent.preventNativeDefault();
// note: needed because show/hide changes
Expand Down Expand Up @@ -221,6 +218,9 @@ enyo.kind({
scrollMathStart: function(inSender) {
if (this.scrollNode) {
this.calcBoundaries();
if (this.thumb) {
this.showThumbs();
}
this.doScrollStart(inSender);
}
},
Expand Down

0 comments on commit 4db91cb

Please sign in to comment.