mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
improved netlist display
minor component updates
This commit is contained in:
Binary file not shown.
@@ -350,5 +350,18 @@ public class ClosedJack1_4 extends AbstractMultiPartComponent<String> {
|
||||
public void setOrientation(Orientation orientation) {
|
||||
this.orientation = orientation;
|
||||
updateControlPoints();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getControlPointNodeName(int index) {
|
||||
switch (index) {
|
||||
case 0:
|
||||
return "Tip";
|
||||
case 1:
|
||||
return "Sleeve";
|
||||
case 2:
|
||||
return "Ring";
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,7 +238,7 @@ public class SingleCoilPickup extends AbstractTransparentComponent<String> {
|
||||
|
||||
// terminal labels
|
||||
Point[] points = getControlPoints();
|
||||
g2d.setColor(finalBorderColor);
|
||||
g2d.setColor(darkerOrLighter(baseColor));
|
||||
|
||||
g2d.setFont(project.getFont().deriveFont(TERMINAL_FONT_SIZE * 1f));
|
||||
int dx = 0;
|
||||
|
||||
Reference in New Issue
Block a user