File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 250
250
return this . gridWidth < 0 ? this . windowWidth : Math . min ( this . windowWidth , this . gridWidth ) ;
251
251
} ,
252
252
height : function ( ) {
253
- return Math . ceil ( this . items . length / this . rowCount ) * this . cellHeight ;
253
+ return Math . ceil ( this . list . length / this . rowCount ) * this . cellHeight ;
254
254
} ,
255
255
style : function ( ) {
256
256
return {
262
262
} ,
263
263
rowShift : function ( ) {
264
264
if ( this . center ) {
265
- var contentWidth = this . items . length * this . cellWidth , rowShift = contentWidth < this . gridResponsiveWidth ? ( this . gridResponsiveWidth - contentWidth ) / 2 : this . gridResponsiveWidth % this . cellWidth / 2 ;
265
+ var contentWidth = this . list . length * this . cellWidth , rowShift = contentWidth < this . gridResponsiveWidth ? ( this . gridResponsiveWidth - contentWidth ) / 2 : this . gridResponsiveWidth % this . cellWidth / 2 ;
266
266
return Math . floor ( rowShift ) ;
267
267
}
268
268
return 0 ;
You can’t perform that action at this time.
0 commit comments