Actelion / openchemlib

Open source Java-based chemistry library
Other
83 stars 29 forks source link

Problem with colors #76

Closed lpatiny closed 2 years ago

lpatiny commented 2 years ago

@thsa i have a problem of rendering the stereobonds in openchemlib-js

It seems to me that the red and blue colors are inverted

2022-08-15 12 27 06

https://github.com/zakodium-oss/react-ocl/issues/16#issuecomment-1214870400

thsa commented 2 years ago

In the Java version it seems fine. It must be an issue of the JS adaption. Anyway, for the editor I strongly suggest to move to the new Editor concept. The old one is deprecated, not updated anymore and missed new features, e.g. regarding substructure search.

targos commented 2 years ago

I'll have a look at the JS adaptation to see if there's an obvious fix. We intend to use the new Editor concept but it will take some time.

targos commented 2 years ago

This is fixed in OCL-js