diff --git a/CHANGELOG.md b/CHANGELOG.md index b669c327..410f7cdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/multiplots.ts b/src/multiplots.ts index a71faf3a..7835cc4d 100644 --- a/src/multiplots.ts +++ b/src/multiplots.ts @@ -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(); diff --git a/src/subplots.ts b/src/subplots.ts index d5d476b1..f8d368b3 100644 --- a/src/subplots.ts +++ b/src/subplots.ts @@ -415,6 +415,7 @@ export class ParallelPlot extends PlotData { } } }) + this.selected_point_index = selectedIndices; return selectedIndices } }