Skip to content

Commit c5eb141

Browse files
committed
make sure text gets deleted after drag
1 parent 3f68e68 commit c5eb141

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/shapes/display_outlines.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ module.exports = function displayOutlines(polygons, outlines, dragOptions, nCall
103103
var shapeGroup = zoomLayer.select('.shape-group');
104104
if(shapeGroup.empty()) {
105105
shapeGroup = zoomLayer.append('g')
106-
.classed('shape-group', true);
106+
.classed('shape-group', true)
107+
.classed('select-outline', true);
107108
}
108109
var shapeOptions = createShapeObj(outlines, dragOptions);
109110
drawLabel(gd, 100, shapeOptions, shapeGroup);

0 commit comments

Comments
 (0)