mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
fixed creation bug with d&d
This commit is contained in:
+1
@@ -524,6 +524,7 @@ public class Presenter implements IPlugInPort {
|
||||
LOG.debug(String.format("dragStarted(%s)", point));
|
||||
if (instantiationManager.getComponentTypeSlot() != null) {
|
||||
LOG.debug("Cannot start drag because a new component is being created.");
|
||||
mouseClicked(point, ctrlDown, shiftDown, altDown);
|
||||
return;
|
||||
}
|
||||
dragInProgress = true;
|
||||
|
||||
Reference in New Issue
Block a user