mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
minor changes
This commit is contained in:
+1
-1
@@ -620,7 +620,7 @@ public class Presenter implements IPlugInPort {
|
|||||||
}
|
}
|
||||||
this.dragInProgress = true;
|
this.dragInProgress = true;
|
||||||
this.dragAction = dragAction;
|
this.dragAction = dragAction;
|
||||||
preDragProject = cloner.deepClone(currentProject);
|
this.preDragProject = cloner.deepClone(currentProject);
|
||||||
Point scaledPoint = scalePoint(point);
|
Point scaledPoint = scalePoint(point);
|
||||||
this.previousDragPoint = scaledPoint;
|
this.previousDragPoint = scaledPoint;
|
||||||
List<IDIYComponent<?>> components = findComponentsAtScaled(scaledPoint);
|
List<IDIYComponent<?>> components = findComponentsAtScaled(scaledPoint);
|
||||||
|
|||||||
+2
-2
@@ -85,7 +85,7 @@ public class ProjectFileManager {
|
|||||||
private XStream xStreamOld;
|
private XStream xStreamOld;
|
||||||
|
|
||||||
private String currentFileName = null;
|
private String currentFileName = null;
|
||||||
private boolean modified = false;
|
private boolean modified = false;
|
||||||
|
|
||||||
private MessageDispatcher<EventType> messageDispatcher;
|
private MessageDispatcher<EventType> messageDispatcher;
|
||||||
|
|
||||||
@@ -105,7 +105,7 @@ public class ProjectFileManager {
|
|||||||
fireFileStatusChanged();
|
fireFileStatusChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void serializeProjectToFile(Project project, String fileName, boolean isBackup)
|
public synchronized void serializeProjectToFile(Project project, String fileName, boolean isBackup)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
if (!isBackup) {
|
if (!isBackup) {
|
||||||
LOG.info(String.format("saveProjectToFile(%s)", fileName));
|
LOG.info(String.format("saveProjectToFile(%s)", fileName));
|
||||||
|
|||||||
Reference in New Issue
Block a user