Skip to content

Commit

Permalink
Backmerge: #2458 - The reaction with catalysts is displayed incorrect…
Browse files Browse the repository at this point in the history
…ly with ACS style setting and after layout

backmerge to master
  • Loading branch information
AliaksandrDziarkach committed Nov 16, 2024
1 parent 4aeb5de commit 9c8f4a9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
52 changes: 26 additions & 26 deletions api/tests/integration/tests/layout/ref/acs_issue_2458.ket
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
"mode": "open-angle",
"pos": [
{
"x": 9.8,
"x": 10.008333,
"y": 0.0,
"z": 0.0
},
{
"x": 20.216667,
"x": 21.674999,
"y": 0.0,
"z": 0.0
}
Expand Down Expand Up @@ -286,8 +286,8 @@
{
"label": "P",
"location": [
10.425,
1.333333,
10.668056,
1.402778,
0.0
]
}
Expand All @@ -300,8 +300,8 @@
{
"label": "P",
"location": [
12.091667,
1.333333,
12.543056,
1.402778,
0.0
]
}
Expand All @@ -314,7 +314,7 @@
{
"label": "O",
"location": [
9.175,
9.348611,
0.0,
0.0
]
Expand All @@ -328,8 +328,8 @@
{
"label": "O",
"location": [
14.591668,
1.333333,
15.390278,
1.402778,
0.0
]
}
Expand All @@ -342,8 +342,8 @@
{
"label": "O",
"location": [
16.258335,
1.333333,
17.265278,
1.402778,
0.0
]
}
Expand All @@ -356,87 +356,87 @@
{
"label": "N",
"location": [
21.258333,
22.820831,
1.309017,
0.0
]
},
{
"label": "C",
"location": [
22.209391,
23.771889,
1.0,
0.0
]
},
{
"label": "C",
"location": [
20.670547,
22.233047,
0.5,
0.0
]
},
{
"label": "C",
"location": [
22.209391,
23.771889,
-0.0,
0.0
]
},
{
"label": "N",
"location": [
23.075417,
24.637915,
1.5,
0.0
]
},
{
"label": "N",
"location": [
21.258333,
22.820833,
-0.309017,
0.0
]
},
{
"label": "C",
"location": [
23.075417,
24.637915,
-0.5,
0.0
]
},
{
"label": "C",
"location": [
23.941441,
25.503941,
1.0,
0.0
]
},
{
"label": "N",
"location": [
23.941441,
25.503941,
0.0,
0.0
]
},
{
"label": "O",
"location": [
23.075415,
24.637915,
-1.5,
0.0
]
},
{
"label": "N",
"location": [
24.807467,
26.369965,
1.5,
0.0
]
Expand Down Expand Up @@ -535,8 +535,8 @@
{
"label": "P",
"location": [
17.091669,
1.333333,
18.168055,
1.402778,
0.0
]
}
Expand All @@ -549,8 +549,8 @@
{
"label": "O",
"location": [
19.591667,
1.333333,
21.015278,
1.402778,
0.0
]
}
Expand Down
2 changes: 1 addition & 1 deletion core/indigo-core/molecule/src/base_molecule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4538,7 +4538,7 @@ void BaseMolecule::getAtomBoundingBox(int atom_idx, float font_size, LABEL_MODE
if (font_size <= EPSILON)
return;

float symbol_size = font_size * 0.6f;
float symbol_size = font_size * 0.7f;

if (isPseudoAtom(atom_idx) || isTemplateAtom(atom_idx))
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9c8f4a9

Please sign in to comment.