mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
optimize image saving/loading
This commit is contained in:
Binary file not shown.
+3
-1
@@ -64,7 +64,7 @@ public class ProjectFileManager {
|
||||
V1_COLOR_MAP.put("yellow", Color.yellow);
|
||||
}
|
||||
|
||||
private XStream xStream = new XStream(new DomDriver());
|
||||
private XStream xStream;
|
||||
|
||||
private String currentFileName = null;
|
||||
private boolean modified = false;
|
||||
@@ -73,6 +73,8 @@ public class ProjectFileManager {
|
||||
|
||||
public ProjectFileManager(MessageDispatcher<EventType> messageDispatcher) {
|
||||
super();
|
||||
this.xStream = new XStream(new DomDriver());
|
||||
xStream.autodetectAnnotations(true);
|
||||
this.messageDispatcher = messageDispatcher;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user