10000 fix · Franciraldo/plotly.js@41fe57b · GitHub
[go: up one dir, main page]

Skip to content

Commit 41fe57b

Browse files
committed
fix
1 parent 1efade7 commit 41fe57b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/legend/draw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,10 +416,10 @@ function drawTexts(g, gd, opts) {
416416

417417
if(isEditable) {
418418
textEl.call(svgTextUtils.makeEditable, {gd: gd, text: name})
419-
.call(textLayout, g, gd)
419+
.call(textLayout, g, gd, opts)
420420
.on('edit', function(newName) {
421421
this.text(ensureLength(newName, maxNameLength))
422-
.call(textLayout, g, gd);
422+
.call(textLayout, g, gd, opts);
423423

424424
var fullInput = legendItem.trace._fullInput || {};
425425
var update = {};

0 commit comments

Comments
 (0)
0