Skip to content

Commit ae221fe

Browse files
committed
Modify legend_scroll_test to match bug fix
1 parent d234487 commit ae221fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/legend_scroll_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe('The legend', function() {
101101
var initialDataScroll = getScroll(gd);
102102
var wheelDeltaY = 100;
103103
var finalDataScroll = Lib.constrain(initialDataScroll +
104-
wheelDeltaY / scrollBarYMax * scrollBoxYMax,
104+
((wheelDeltaY / scrollBoxYMax) * scrollBarYMax),
105105
0, scrollBoxYMax);
106106

107107
legend.dispatchEvent(scrollTo(wheelDeltaY));

0 commit comments

Comments
 (0)