Skip to content

Commit 65d71d3

Browse files
committed
Account for arrow padding in updatemenus
1 parent fb6adc3 commit 65d71d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/updatemenus/draw.js

+1
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ function findDimenstions(gd, menuOpts) {
459459
} else {
460460
menuOpts.totalWidth = menuOpts.width1;
461461
}
462+
menuOpts.totalWidth += constants.arrowPadX;
462463
}
463464

464465
fakeButtons.remove();

0 commit comments

Comments
 (0)