Skip to content

Commit 49507be

Browse files
committed
change range selector and slider 'borderwidth' dflt to 0.
1 parent ade535e commit 49507be

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/components/rangeselector/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ module.exports = {
9090
borderwidth: {
9191
valType: 'number',
9292
min: 0,
93-
dflt: 1,
93+
dflt: 0,
9494
role: 'style',
9595
description: 'Sets the width (in px) of the border enclosing the range selector.'
9696
}

src/components/rangeslider/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
},
2626
borderwidth: {
2727
valType: 'integer',
28-
dflt: 1,
28+
dflt: 0,
2929
min: 0,
3030
role: 'style',
3131
description: 'Sets the border color of the range slider.'

test/jasmine/tests/range_slider_test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ describe('the range slider', function() {
221221
visible: true,
222222
thickness: 0.15,
223223
bgcolor: '#fff',
224-
borderwidth: 1,
224+
borderwidth: 0,
225225
bordercolor: '#444'
226226
}
227227
},
@@ -246,7 +246,7 @@ describe('the range slider', function() {
246246
visible: true,
247247
thickness: 0.15,
248248
bgcolor: '#fff',
249-
borderwidth: 1,
249+
borderwidth: 0,
250250
bordercolor: '#444'
251251
}
252252
},
@@ -275,7 +275,7 @@ describe('the range slider', function() {
275275
visible: true,
276276
thickness: 0.15,
277277
bgcolor: '#fff',
278-
borderwidth: 1,
278+
borderwidth: 0,
279279
bordercolor: '#444'
280280
}}, yaxis: {
281281
fixedrange: true
@@ -296,7 +296,7 @@ describe('the range slider', function() {
296296
visible: true,
297297
thickness: 0.15,
298298
bgcolor: '#fff',
299-
borderwidth: 1,
299+
borderwidth: 0,
300300
bordercolor: '#444'
301301
}},
302302
yaxis: { fixedrange: true},

0 commit comments

Comments
 (0)