Skip to content
Snippets Groups Projects
Commit 049da1ff authored by Piotr Gawron's avatar Piotr Gawron
Browse files

storke width is accessed only when it's set

parent 688be9a5
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!494Conversion rest api scaling
......@@ -106,7 +106,7 @@ public class SbmlSpeciesParser extends SbmlElementParser<org.sbml.jsbml.Species>
protected void applyStyleToElement(Element elementWithLayout, LocalStyle style) {
super.applyStyleToElement(elementWithLayout, style);
Species specisWithLayout = (Species) elementWithLayout;
if (style.getGroup().getStrokeWidth() != null) {
if (style.getGroup().isSetStrokeWidth()) {
specisWithLayout.setLineWidth(style.getGroup().getStrokeWidth());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment