Skip to content

Commit cb0ef99

Browse files
committed
Merge branch 'pr/83'
2 parents 4632622 + 5a1fab6 commit cb0ef99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/alamkanak/weekview/WeekView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float d
134134
mCurrentScrollDirection = Direction.VERTICAL;
135135
}
136136
}
137-
mDistanceX = distanceX;
137+
mDistanceX = distanceX * mXScrollingSpeed;
138138
mDistanceY = distanceY;
139139
invalidate();
140140
return true;

0 commit comments

Comments
 (0)