Skip to content

Commit

Permalink
New separate API for pseudo atoms vs abbreviations.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Feb 20, 2016
1 parent 4b5c439 commit 250e70b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private IRenderingElement generateAbbreviationSgroup(Sgroup sgroup) {
// middle of all of those which were hidden
final Point2d labelCoords = GeometryUtil.get2DCenter(sgroup.getAtoms());
ElementGroup group = new ElementGroup();
for (Shape outline : atomGenerator.generatePseudoSymbol(label, HydrogenPosition.Right)
for (Shape outline : atomGenerator.generateAbbreviatedSymbol(label, HydrogenPosition.Right)
.resize(1 / scale, 1 / -scale)
.getOutlines())
group.add(GeneralPath.shapeOf(outline, foreground));
Expand Down

0 comments on commit 250e70b

Please sign in to comment.