From 504b18d4909a50e72c55221cdcf37a67ebc7cb3b Mon Sep 17 00:00:00 2001 From: Patrick Vares Date: Sun, 18 Jan 2015 01:26:51 -0500 Subject: [PATCH] reverting app/.classpath and PSurfaceAWT.java (not sure how they got changed) --- app/.classpath | 2 +- core/src/processing/core/PSurfaceAWT.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/.classpath b/app/.classpath index 00411841a..e12f72e7e 100644 --- a/app/.classpath +++ b/app/.classpath @@ -6,6 +6,7 @@ + @@ -18,6 +19,5 @@ - diff --git a/core/src/processing/core/PSurfaceAWT.java b/core/src/processing/core/PSurfaceAWT.java index c5c6c0c23..35c405b07 100644 --- a/core/src/processing/core/PSurfaceAWT.java +++ b/core/src/processing/core/PSurfaceAWT.java @@ -831,9 +831,10 @@ public class PSurfaceAWT implements PSurface { // canvas.setSize(wide, high); // frame.setSize(wide, high); - setFrameSize(); //wide, high); + if (frame != null) { // canvas only + setFrameSize(); //wide, high); + } setCanvasSize(); - frame.setLocationRelativeTo(null); // if (frame != null) { // frame.setLocationRelativeTo(null); // }