Skip to content

Commit 254f158

Browse files
committed
set proper editType on layout attribute modeBar
1 parent baeb1bc commit 254f158

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/plots/layout_attributes.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ module.exports = {
237237
bgcolor: {
238238
valType: 'color',
239239
role: 'style',
240-
dflt: 'rgba(255,255,255,0.7)',
240+
dflt: 'rgba(255, 255, 255, 0.7)',
241241
editType: 'modebar',
242242
description: 'Sets the background color of the modebar.'
243243
},
@@ -247,6 +247,7 @@ module.exports = {
247247
dflt: 'rgba(0, 31, 95, 0.3)',
248248
editType: 'modebar',
249249
description: 'Sets the color of the icons in the modebar.'
250-
}
250+
},
251+
editType: 'modebar'
251252
}
252253
};

0 commit comments

Comments
 (0)