Skip to content

Commit

Permalink
#5954 - the reaction with catalysts is displayed incorrect with acs s…
Browse files Browse the repository at this point in the history
…tyle setting and after layout ketcher part
  • Loading branch information
mnmsvlw committed Nov 21, 2024
1 parent f873318 commit 12b8641
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,7 @@ function showHydrogen(
pathAndRBoxTranslate(
hydrogen.path,
hydrogen.rbb,
data.rightMargin + 0.5 * hydrogen.rbb.width + delta,
data.rightMargin + 0.35 * hydrogen.rbb.width + delta,
0,
);
data.rightMargin += hydrogen.rbb.width + delta;
Expand All @@ -1203,7 +1203,7 @@ function showHydrogen(
hydroIndex.path,
hydroIndex.rbb,
data.rightMargin +
0.5 * hydroIndex.rbb.width * (options.zoom > 1 ? 1 : options.zoom) +
0.15 * hydroIndex.rbb.width * (options.zoom > 1 ? 1 : options.zoom) +
delta,
0.2 * atom.label!.rbb.height,
);
Expand All @@ -1215,7 +1215,7 @@ function showHydrogen(
pathAndRBoxTranslate(
hydroIndex.path,
hydroIndex.rbb,
data.leftMargin - 0.5 * hydroIndex.rbb.width - delta,
data.leftMargin - 0.4 * hydroIndex.rbb.width - delta,
0.2 * atom.label!.rbb.height,
);
data.leftMargin -= hydroIndex.rbb.width + delta;
Expand All @@ -1224,7 +1224,7 @@ function showHydrogen(
hydrogen.path,
hydrogen.rbb,
data.leftMargin -
0.5 *
0.4 *
hydrogen.rbb.width *
(implh > 1 && options.zoom < 1 ? options.zoom : 1) -
delta,
Expand Down

0 comments on commit 12b8641

Please sign in to comment.