Skip to content

Commit 5039aa5

Browse files
committed
fix shape editing
1 parent 0162797 commit 5039aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/shapes/draw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function draw(gd) {
5757
function drawOne(gd, index) {
5858
// remove the existing shape if there is one.
5959
// because indices can change, we need to look in all shape layers
60-
gd._fullLayout._paper
60+
gd._fullLayout._paperdiv
6161
.selectAll('.shapelayer [data-index="' + index + '"]')
6262
.remove();
6363

0 commit comments

Comments
 (0)