Skip to content

Commit

Permalink
Merge pull request #251 from Dessia-tech/fix/selectionchange_pp
Browse files Browse the repository at this point in the history
fix(selectionchange_pp): update selected_point_index in pp
  • Loading branch information
Tanguylo authored May 3, 2023
2 parents a636a6c + 18ba6b3 commit eb7eb21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [0.12.2]
### Fix
- update selected_point_index when selecting from parallelplot


## [0.12.1]
### Fix
- npmignore
Expand Down
2 changes: 0 additions & 2 deletions src/multiplots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1806,8 +1806,6 @@ export class MultiplePlots {
var clickOnVertex:boolean = false;
var old_selected_index;
var double_click = false;


// For canvas to read keyboard inputs.
// this.canvas.setAttribute('tabindex', '0');
// this.canvas.focus();
Expand Down
1 change: 1 addition & 0 deletions src/subplots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ export class ParallelPlot extends PlotData {
}
}
})
this.selected_point_index = selectedIndices;
return selectedIndices
}
}
Expand Down

0 comments on commit eb7eb21

Please sign in to comment.