-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
circle for the bond query feature is not centered #63
Comments
It must be related to the different behaviour between java and javascript. Java draw an ellipse and toe x, y value is the top left. while in javascript we specify the center. |
can you post links to the relevant source code? |
Java:
Javascript, centered based: |
Seems to me it is called from only one place that is common between java and javascript: I guess the solution would be that for SVG and GWT depictor we add the radius. |
the SVG depictor is in the original code |
what do you mean by "add the radius" ? the radius seems to be used everywhere? |
Guys,
do you need some help?
Christian
… On 30 Nov 2018, at 16:26, Michaël Zasso ***@***.***> wrote:
the SVG depictor is in the original code
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#63 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AJmvoc2z537rkz-_IL9FVu_Ybs_IvgAaks5u0U5CgaJpZM4Y5EKQ>.
|
I see the problem. |
Fixed in commit 09edf53 |
If you press
q
when over a bond there is a dialog box allowing to edit query featuresHowever the circle that represents the fact that this bond is special is not centered on the bond
You can test it online: https://cheminfo.github.io/openchemlib-js/dist/Editor.html
The text was updated successfully, but these errors were encountered: