Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d517c4f

Browse files
committed
make doubleclick in select/lasso mode emit its own event: plotly_deselect
1 parent 4c5103f commit d517c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/select.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ module.exports = function prepSelect(e, startX, startY, dragOptions, mode) {
172172
searchInfo.selectPoints(searchInfo, false);
173173
}
174174

175-
gd.emit('plotly_doubleclick', null);
175+
gd.emit('plotly_deselect', null);
176176
}
177177
else {
178178
dragOptions.gd.emit('plotly_selected', eventData);

0 commit comments

Comments
 (0)