mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
draw control points on the top
This commit is contained in:
+3
-2
@@ -327,8 +327,9 @@ public class Presenter implements IPlugInPort {
|
||||
// g2dWrapper.setComposite(mainComposite);
|
||||
// }
|
||||
componentAreaMap.put(component, g2dWrapper.finishedDrawingComponent());
|
||||
|
||||
// Draw control points
|
||||
}
|
||||
// Draw control points.
|
||||
for (IDIYComponent<?> component : components) {
|
||||
if (drawOptions.contains(DrawOption.CONTROL_POINTS)) {
|
||||
for (int i = 0; i < component.getControlPointCount(); i++) {
|
||||
Point controlPoint = component.getControlPoint(i);
|
||||
|
||||
Reference in New Issue
Block a user