Commit e24e5fef authored by Piotr Gawron's avatar Piotr Gawron
Browse files

color is aasigned to center line

parent f7312993
......@@ -455,6 +455,7 @@ public class ReactionFromXml {
for (AbstractNode rNode : result.getNodes()) {
applyStylingToLine(line, rNode.getLine());
}
applyStylingToLine(line, result.getLine());
if (reactantsLinkNode != null) {
parseReactantLinks(result, reactantsLinkNode, model);
......
......@@ -1042,6 +1042,7 @@ public class ReactionParserTests extends CellDesignerTestFunctions {
assertEquals(product1.getLine().getColor(), product2.getLine().getColor());
assertEquals(product1.getLine().getWidth(), product2.getLine().getWidth(), 1e-6);
assertEquals(reaction1.getLine().getColor(), product2.getLine().getColor());
} catch (Exception e) {
logger.error(e.getMessage(), e);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment