We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3fb445 commit e09a4e1Copy full SHA for e09a4e1
src/traces/scattergl/index.js
@@ -862,11 +862,16 @@ function selectPoints(searchInfo, polygon) {
862
// update texts selection
863
if(hasText) {
864
var textOptions = {};
865
- if(els) {
866
- applyTextoption(textOptions, els, scene.selectedOptions[stash.index]);
+ if (els && unels) {
+ if(els) {
867
+ applyTextoption(textOptions, els, scene.selectedOptions[stash.index]);
868
+ }
869
+ if(unels) {
870
+ applyTextoption(textOptions, unels, scene.unselectedOptions[stash.index]);
871
872
}
- if(unels) {
- applyTextoption(textOptions, unels, scene.unselectedOptions[stash.index]);
873
+ else {
874
+ // TODO: reset unselected style properly
875
876
877
scene.glText[stash.index].update(textOptions);
0 commit comments