style(slideBox): lower the speed a little bit

This commit is contained in:
Andrew
2014-10-09 10:18:36 -06:00
parent 7b5b73fd06
commit 950d697a70
2 changed files with 2 additions and 2 deletions

View File

@@ -208,7 +208,7 @@ function(scope, element, $$ionicAttachDrag, $interval) {
// Select a new slide if it's avaiable
if (self.isInRange(nextIndex)) {
var transitionDuration = Math.min(
slidesParent.prop('offsetWidth') / (3 * velocity),
slidesParent.prop('offsetWidth') / (velocity),
SLIDE_TRANSITION_DURATION
);
self.select(nextIndex, transitionDuration);