mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
added component slot while creating
invalidate components when deleted
This commit is contained in:
+1
-4
@@ -200,10 +200,7 @@ public abstract class AbstractLeadedComponent<T> extends AbstractTransparentComp
|
||||
|
||||
@Override
|
||||
public void setControlPoint(Point point, int index) {
|
||||
// Only accept the change if ending points are not the same.
|
||||
if (!point.equals(points[1 - index])) {
|
||||
points[index].setLocation(point);
|
||||
}
|
||||
points[index].setLocation(point);
|
||||
}
|
||||
|
||||
@EditableProperty(name = "Color")
|
||||
|
||||
Reference in New Issue
Block a user