Structure viewer legend doesn't update when changing the color scheme.
janosh opened this issue · 1 comments
janosh commented
Visited https://next-gen.materialsproject.org/toolkit and selected "Accessible" from the "Change color scheme" dropdown.
The colors in the legend no longer match the ball and stick colors in the viewer.
janosh commented
This clientside callback looks like it might be the place to fix. Not sure if it should trigger some other callback or update the legend itself. Probably former.
crystaltoolkit/crystal_toolkit/components/structure.py
Lines 300 to 321 in fb7118d