This repository was archived by the owner on Oct 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -86,16 +86,9 @@ module.exports = function draw(gd) {
86
86
} ) ;
87
87
88
88
drawSlider ( gd , d3 . select ( this ) , sliderOpts ) ;
89
-
90
- // makeInputProxy(gd, d3.select(this), sliderOpts);
91
89
} ) ;
92
90
} ;
93
91
94
- /* function makeInputProxy(gd, sliderGroup, sliderOpts) {
95
- sliderOpts.inputProxy = gd._fullLayout._paperdiv.selectAll('input.' + constants.inputProxyClass)
96
- .data([0]);
97
- }*/
98
-
99
92
// This really only just filters by visibility:
100
93
function makeSliderData ( fullLayout , gd ) {
101
94
var contOpts = fullLayout [ constants . name ] ,
@@ -135,10 +128,6 @@ function findDimensions(gd, sliderOpts) {
135
128
var textNode = text . node ( ) ;
136
129
if ( textNode ) {
137
130
var bBox = Drawing . bBox ( textNode ) ;
138
- // This just overwrites with the last. Which is fine as long as
139
- // the bounding box (probably incorrectly) measures the text *on
140
- // a single line*:
141
- // TODO: what is that comment about? should this be a max as well?
142
131
labelHeight = Math . max ( labelHeight , bBox . height ) ;
143
132
maxLabelWidth = Math . max ( maxLabelWidth , bBox . width ) ;
144
133
}
You can’t perform that action at this time.
0 commit comments