We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 789ce44 commit ccba6e9Copy full SHA for ccba6e9
src/components/modebar/modebar.js
@@ -191,7 +191,7 @@ proto.createIcon = function(thisIcon, name) {
191
if(thisIcon.transform) {
192
path.setAttribute('transform', thisIcon.transform);
193
}
194
- else if(thisIcon.ascent) {
+ else if(thisIcon.ascent !== undefined) {
195
// Legacy icon transform calculation
196
var transform = name === 'toggleSpikelines' ?
197
'matrix(1.5 0 0 -1.5 0 ' + thisIcon.ascent + ')' :
0 commit comments