react-multi-carousel
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -365,5 +365,3 @@ "use strict"; | ||
this.props.minimumTouchDrag) { | ||
this.next(slidesHavePassed > this.state.slidesToShow | ||
? this.state.slidesToShow | ||
: slidesHavePassed); | ||
this.next(slidesHavePassed); | ||
} | ||
@@ -378,5 +376,3 @@ else { | ||
this.props.minimumTouchDrag) { | ||
this.previous(slidesHavePassed > this.state.slidesToShow | ||
? this.state.slidesToShow | ||
: slidesHavePassed); | ||
this.previous(slidesHavePassed); | ||
} | ||
@@ -383,0 +379,0 @@ else { |
@@ -62,3 +62,3 @@ "use strict"; | ||
if (hasEnterClonedAfter) { | ||
nextSlide = originalFirstSlide; | ||
nextSlide = currentSlide - childrenArr.length; | ||
nextPosition = -(itemWidth * nextSlide); | ||
@@ -65,0 +65,0 @@ } |
{ | ||
"name": "react-multi-carousel", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
108831
931