File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
src/components/rangeslider Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -17,18 +17,16 @@ exports.makeData = function(fullLayout) {
17
17
var margin = fullLayout . margin ;
18
18
var rangeSliderData = [ ] ;
19
19
20
- if ( ! fullLayout . _has ( 'gl2d' ) ) {
21
- for ( var i = 0 ; i < axes . length ; i ++ ) {
22
- var ax = axes [ i ] ;
20
+ for ( var i = 0 ; i < axes . length ; i ++ ) {
21
+ var ax = axes [ i ] ;
23
22
24
- if ( isVisible ( ax ) ) {
25
- rangeSliderData . push ( ax ) ;
23
+ if ( isVisible ( ax ) ) {
24
+ rangeSliderData . push ( ax ) ;
26
25
27
- var opts = ax [ name ] ;
28
- opts . _id = name + ax . _id ;
29
- opts . _height = ( fullLayout . height - margin . b - margin . t ) * opts . thickness ;
30
- opts . _offsetShift = Math . floor ( opts . borderwidth / 2 ) ;
31
- }
26
+ var opts = ax [ name ] ;
27
+ opts . _id = name + ax . _id ;
28
+ opts . _height = ( fullLayout . height - margin . b - margin . t ) * opts . thickness ;
29
+ opts . _offsetShift = Math . floor ( opts . borderwidth / 2 ) ;
32
30
}
33
31
}
34
32
You can’t perform that action at this time.
0 commit comments