We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d8f98 commit 39106cfCopy full SHA for 39106cf
src/components/legend/draw.js
@@ -337,7 +337,7 @@ function drawOne(gd, opts) {
337
legend.on('wheel', function() {
338
scrollBoxY = Lib.constrain(
339
legendObj._scrollY +
340
- ((d3.event.deltaY / scrollBarYMax) * scrollBoxYMax),
+ ((d3.event.deltaY / scrollBoxYMax) * scrollBarYMax),
341
0, scrollBoxYMax);
342
scrollHandler(scrollBoxY, scrollBarHeight, scrollRatio);
343
if(scrollBoxY !== 0 && scrollBoxY !== scrollBoxYMax) {
0 commit comments