Skip to content
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

The thickness of the arrow is incorrect when saving to png(svg) #2444

Closed
AnnaKosol opened this issue Sep 30, 2024 · 2 comments · Fixed by #2486 or #2488
Closed

The thickness of the arrow is incorrect when saving to png(svg) #2444

AnnaKosol opened this issue Sep 30, 2024 · 2 comments · Fixed by #2486 or #2488
Assignees
Labels
Bug Priority: Medium SVG/PNG Bucket: Bugs related to SVG/PNG export Team G

Comments

@AnnaKosol
Copy link
Collaborator

Steps to Reproduce

  1. add to the Canvas reaction with arrow
Снимок экрана 2024-09-30 в 13 22 00
  1. save to PNG (svg)

Expected behavior
the thickness of the arrow should be the same as the thickness of bonds

Actual behavior
The thickness of the arrow is not the same as bond
Снимок экрана 2024-09-30 в 13 21 48

Environment details:

Issues found while testing #2175

@AnnaKosol AnnaKosol added Bug Priority: Medium SVG/PNG Bucket: Bugs related to SVG/PNG export labels Sep 30, 2024
@AliaksandrDziarkach
Copy link
Collaborator

Indigo render should be fixed.
Need to discuss expected behavior.

@AliaksandrDziarkach AliaksandrDziarkach self-assigned this Sep 30, 2024
AliaksandrDziarkach added a commit that referenced this issue Oct 3, 2024
… to png(svg)

Add code to set arrow and plus width same as bond. Add UT.
@AliaksandrDziarkach AliaksandrDziarkach added this to the Indigo-1.25.0-rc.2 milestone Oct 3, 2024
AliaksandrDziarkach added a commit that referenced this issue Oct 3, 2024
…hen saving to png(svg)

backmerge to master
AlexanderSavelyev pushed a commit that referenced this issue Oct 4, 2024
@AliaksandrDziarkach AliaksandrDziarkach changed the title Preview: the thickness of the arrow is incorrect when saving to png(svg) The thickness of the arrow is incorrect when saving to png(svg) Oct 4, 2024
@AlexeyGirin
Copy link
Collaborator

Verified.
image

  • Ketcher Version 2.26.0-rc.2 Build at 2024-10-14; 19:59:03
  • Indigo Toolkit Version 1.25.0-rc.2.0-g867ae250b-wasm32-wasm-clang-19.0.0
  • Chrome Version 129.0.6668.101 (Official Build) (64-bit)
  • Win10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment