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 cd6c5a1 commit 2d4bc78Copy full SHA for 2d4bc78
src/components/modebar/manage.js
@@ -184,6 +184,8 @@ function getButtonGroups(gd) {
184
for(var i = 0; i < buttonsToAdd.length; i++) {
185
var b = buttonsToAdd[i];
186
if(typeof b === 'string') {
187
+ b = b.toLowerCase();
188
+
189
if(DRAW_MODES.indexOf(b) !== -1) {
190
// accept pre-defined drag modes i.e. shape drawing features as string
191
if(
0 commit comments