Skip to content

Commit 3632827

Browse files
committed
add comment regarding new selection plotly_selected points
1 parent 4623196 commit 3632827

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/selections/select.js

+2
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,8 @@ function prepSelect(evt, startX, startY, dragOptions, mode) {
377377
throttle.done(throttleID).then(function() {
378378
throttle.clear(throttleID);
379379

380+
// Only points selected by the new selection are presented in eventData here
381+
// Should we provide all the selected points instead?
380382
dragOptions.gd.emit('plotly_selected', eventData);
381383

382384
if(!immediateSelect && currentPolygon && dragOptions.selectionDefs) {

0 commit comments

Comments
 (0)