Skip to content

Commit e85e3d0

Browse files
Renamed parameter to keep name consistency across the file
1 parent a17d3a8 commit e85e3d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/rangeslider/draw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ function filterRangePlotCalcData(calcData, subplotId) {
471471
return out;
472472
}
473473

474-
function drawMasks(rangeSlider, gd, axisOpts, opts, yAxisOpts) {
474+
function drawMasks(rangeSlider, gd, axisOpts, opts, oppAxisOpts) {
475475
var maskMin = rangeSlider.selectAll('rect.' + constants.maskMinClassName)
476476
.data([0]);
477477

@@ -497,7 +497,7 @@ function drawMasks(rangeSlider, gd, axisOpts, opts, yAxisOpts) {
497497
.call(Color.fill, constants.maskColor);
498498

499499
// masks used for oppAxis zoom
500-
if(yAxisOpts.rangemode === 'auto' || yAxisOpts.rangemode === 'fixed') {
500+
if(oppAxisOpts.rangemode === 'auto' || oppAxisOpts.rangemode === 'fixed') {
501501
var maskMinOppAxis = rangeSlider.selectAll('rect.' + constants.maskMinOppAxisClassName)
502502
.data([0]);
503503

0 commit comments

Comments
 (0)