mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
Added "Sub-Mini" tube
This commit is contained in:
@@ -2938,6 +2938,10 @@
|
||||
<changeType>NEW_FEATURE</changeType>
|
||||
<description>Added "Find" functionality that locates and selects component(s) matching the search text</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>NEW_FEATURE</changeType>
|
||||
<description>Added "Sub-Mini" tube</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>NEW_FEATURE</changeType>
|
||||
<description>Added "Tag Strip" component for point-to-point layouts</description>
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -343,9 +343,9 @@ public class TubeSocket extends AbstractTransparentComponent<String> {
|
||||
Area area = new Area(new Ellipse2D.Double(1, 1, width - 2, width - 2));
|
||||
int center = width / 2;
|
||||
area.subtract(new Area(new Ellipse2D.Double(center - 2, center - 2, 5, 5)));
|
||||
g2d.setColor(getColor());
|
||||
g2d.setColor(BODY_COLOR);
|
||||
g2d.fill(area);
|
||||
g2d.setColor(getColor().darker());
|
||||
g2d.setColor(BODY_COLOR.darker());
|
||||
g2d.draw(area);
|
||||
|
||||
int radius = width / 2 - 6;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user