Revision: 4000
Author: [email protected]
Date: Mon Nov 29 12:54:52 2010
Log: FIXED BUG 3085: Prefs now correctly loads zoom in Architect EE projects.
http://code.google.com/p/power-architect/source/detail?r=4000

Modified:
/trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectSwingSessionImpl.java

=======================================
--- /trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectSwingSessionImpl.java Wed Nov 3 13:56:26 2010 +++ /trunk/src/main/java/ca/sqlpower/architect/swingui/ArchitectSwingSessionImpl.java Mon Nov 29 12:54:52 2010
@@ -369,7 +369,7 @@
         playPen = RelationalPlayPenFactory.createPlayPen(this, dbTree);
this.getWorkspace().setPlayPenContentPane(playPen.getContentPane());
         UserSettings sprefs = getUserSettings().getSwingSettings();
-        if (sprefs != null) {
+        if (sprefs != null && playPen.getZoom() == 1.0) {
playPen.setRenderingAntialiased(sprefs.getBoolean(ArchitectSwingUserSettings.PLAYPEN_RENDER_ANTIALIASED, false));
             Object d = sprefs.getObject("zoom", new Double(1.0));
             if (!(d instanceof Double)) {

Reply via email to