Skip to content

Commit eb7eb21

Browse files
authored
Merge pull request #251 from Dessia-tech/fix/selectionchange_pp
fix(selectionchange_pp): update selected_point_index in pp
2 parents a636a6c + 18ba6b3 commit eb7eb21

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
9+
## [0.12.2]
10+
### Fix
11+
- update selected_point_index when selecting from parallelplot
12+
13+
814
## [0.12.1]
915
### Fix
1016
- npmignore

src/multiplots.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,8 +1806,6 @@ export class MultiplePlots {
18061806
var clickOnVertex:boolean = false;
18071807
var old_selected_index;
18081808
var double_click = false;
1809-
1810-
18111809
// For canvas to read keyboard inputs.
18121810
// this.canvas.setAttribute('tabindex', '0');
18131811
// this.canvas.focus();

src/subplots.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ export class ParallelPlot extends PlotData {
415415
}
416416
}
417417
})
418+
this.selected_point_index = selectedIndices;
418419
return selectedIndices
419420
}
420421
}

0 commit comments

Comments
 (0)