mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
fixed undo with d&d
This commit is contained in:
-2
@@ -517,8 +517,6 @@ public class Presenter implements IPlugInPort {
|
|||||||
// There is selection, so we need to finalize the drag&drop
|
// There is selection, so we need to finalize the drag&drop
|
||||||
// operation.
|
// operation.
|
||||||
|
|
||||||
// If there are components selected translate their control points.
|
|
||||||
// translateSelectedComponents(dragStartPoint, point);
|
|
||||||
if (!preDragProject.equals(currentProject)) {
|
if (!preDragProject.equals(currentProject)) {
|
||||||
messageDispatcher.dispatchMessage(EventType.PROJECT_MODIFIED, preDragProject, cloner
|
messageDispatcher.dispatchMessage(EventType.PROJECT_MODIFIED, preDragProject, cloner
|
||||||
.deepClone(currentProject), "Move");
|
.deepClone(currentProject), "Move");
|
||||||
|
|||||||
Reference in New Issue
Block a user