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) {
1717 var margin = fullLayout . margin ;
1818 var rangeSliderData = [ ] ;
1919
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 ] ;
2322
24- if ( isVisible ( ax ) ) {
25- rangeSliderData . push ( ax ) ;
23+ if ( isVisible ( ax ) ) {
24+ rangeSliderData . push ( ax ) ;
2625
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 ) ;
3230 }
3331 }
3432
You can’t perform that action at this time.
0 commit comments