mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
improve node display for single point componenets
This commit is contained in:
@@ -82,6 +82,8 @@ public class Node implements Comparable<Node> {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
if (component.getControlPointCount() == 1)
|
||||
return component.getName();
|
||||
return component.getName() + "." + getDisplayName() /*+ " @ (" + component.getControlPoint(pointIndex).getX() + ":" + component.getControlPoint(pointIndex).getY() + ")"*/;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user