Commit c18f95d 1 parent 8bcdcb8 commit c18f95d Copy full SHA for c18f95d
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1095,9 +1095,9 @@ return /******/ (function(modules) { // webpackBootstrap
1095
1095
var slideWidth ;
1096
1096
1097
1097
if ( ! props . vertical ) {
1098
- slideWidth = trackWidth / props . slidesToShow ;
1098
+ slideWidth = this . getWidth ( _reactDom2 . default . findDOMNode ( this ) ) / props . slidesToShow ;
1099
1099
} else {
1100
- slideWidth = trackWidth ;
1100
+ slideWidth = this . getWidth ( _reactDom2 . default . findDOMNode ( this ) ) ;
1101
1101
}
1102
1102
1103
1103
var slideHeight = this . getHeight ( slickList . querySelector ( '[data-index="0"]' ) ) ;
@@ -1137,9 +1137,9 @@ return /******/ (function(modules) { // webpackBootstrap
1137
1137
var slideWidth ;
1138
1138
1139
1139
if ( ! props . vertical ) {
1140
- slideWidth = trackWidth / props . slidesToShow ;
1140
+ slideWidth = this . getWidth ( _reactDom2 . default . findDOMNode ( this ) ) / props . slidesToShow ;
1141
1141
} else {
1142
- slideWidth = trackWidth ;
1142
+ slideWidth = this . getWidth ( _reactDom2 . default . findDOMNode ( this ) ) ;
1143
1143
}
1144
1144
1145
1145
var slideHeight = this . getHeight ( slickList . querySelector ( '[data-index="0"]' ) ) ;
You can’t perform that action at this time.
0 commit comments