Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b293ac

Browse files
committed
update updatemenus test
multiline labels are calculating their widths correctly now because the newline tspans are lining up rather than stair stepping
1 parent f8101b0 commit 3b293ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/updatemenus_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ describe('update menus interactions', function() {
651651

652652
return Plotly.relayout(gd, 'updatemenus[1].buttons[1].label', 'a looooooooooooong<br>label');
653653
}).then(function() {
654-
assertItemDims(selectHeader(1), 179, 35);
654+
assertItemDims(selectHeader(1), 165, 35);
655655

656656
return click(selectHeader(1));
657657
}).then(function() {

0 commit comments

Comments
 (0)