You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The documentation of SphereStyleSpec indicates that color should override colorscheme. However, looking through the code, it seems that the color is checked first and then colorscheme overrides it, which is the opposite of what is documented.
Thanks - given that the documentation is wrong, there are zero people relying on it being the way it is while there may be a nonzero amount of code relying on the behavior in the code so I prefer to change the docs (which I've done).
Describe the bug
The documentation of SphereStyleSpec indicates that color should override colorscheme. However, looking through the code, it seems that the color is checked first and then colorscheme overrides it, which is the opposite of what is documented.
3Dmol.js/src/utilities.ts
Lines 549 to 552 in 79ccc58
Expected behavior
Documentation and code should agree!
Please close your issue when you feel it has been adequately resolved
The text was updated successfully, but these errors were encountered: