File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 7070 wheelStep : 20 ,
7171
7272 // scroll amount applied when user is using gestures
73- touchScrollStep : 200
73+ touchScrollStep : 200 ,
74+
75+ // sets border radius
76+ borderRadius : '7px' ,
77+
78+ // sets border radius of the rail
79+ railBorderRadius : '7px'
7480 } ;
7581
7682 var o = $ . extend ( defaults , options ) ;
166172 position : 'absolute' ,
167173 top : 0 ,
168174 display : ( o . alwaysVisible && o . railVisible ) ? 'block' : 'none' ,
169- 'border-radius' : o . size ,
175+ 'border-radius' : o . railBorderRadius ,
170176 background : o . railColor ,
171177 opacity : o . railOpacity ,
172178 zIndex : 90
182188 top : 0 ,
183189 opacity : o . opacity ,
184190 display : o . alwaysVisible ? 'block' : 'none' ,
185- 'border-radius' : o . size ,
186- BorderRadius : o . size ,
187- MozBorderRadius : o . size ,
188- WebkitBorderRadius : o . size ,
191+ 'border-radius' : o . borderRadius ,
192+ BorderRadius : o . borderRadius ,
193+ MozBorderRadius : o . borderRadius ,
194+ WebkitBorderRadius : o . borderRadius ,
189195 zIndex : 99
190196 } ) ;
191197
You can’t perform that action at this time.
0 commit comments