We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f71b53 commit b747224Copy full SHA for b747224
src/components/legend/draw.js
@@ -257,7 +257,7 @@ module.exports = function draw(gd) {
257
// Move scrollbar to starting position
258
scrollBar.call(
259
Drawing.setRect,
260
- opts.width - (constants.scrollBarWidth + constants.scrollBarMargin),
+ opts.width - constants.scrollBarMargin,
261
constants.scrollBarMargin,
262
constants.scrollBarWidth,
263
constants.scrollBarHeight
@@ -299,7 +299,7 @@ module.exports = function draw(gd) {
299
scrollBox.attr('transform', 'translate(0, ' + scrollBoxY + ')');
300
301
302
303
scrollBarY,
304
305
0 commit comments