DGP - print fin set name on marking guide, even if it's the only one

This commit is contained in:
Doug Pedrick 2011-11-26 02:24:28 +00:00
parent de2ab2cad7
commit cccd06298c

View File

@ -278,9 +278,9 @@ public class FinMarkingGuide extends JPanel {
yFirstFin = offset; yFirstFin = offset;
} }
drawDoubleArrowLine(g2, x, offset, x + width, offset); drawDoubleArrowLine(g2, x, offset, x + width, offset);
if (hasMultipleComponents) { // if (hasMultipleComponents) {
g2.drawString(externalComponent.getName(), x + (width / 3), offset - 2); g2.drawString(externalComponent.getName(), x + (width / 3), offset - 2);
} // }
} }
} else if (externalComponent instanceof LaunchLug) { } else if (externalComponent instanceof LaunchLug) {
LaunchLug lug = (LaunchLug) externalComponent; LaunchLug lug = (LaunchLug) externalComponent;