Revision: 651
Author: allain.lalonde
Date: Wed Aug  5 09:16:51 2009
Log: Fixed bug causing PFrame not to display by default.
http://code.google.com/p/piccolo2d/source/detail?r=651

Modified:
  /piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/PFrame.java

=======================================
---  
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/PFrame.java      
 
Tue Aug  4 13:42:37 2009
+++  
/piccolo2d.java/trunk/extras/src/main/java/edu/umd/cs/piccolox/PFrame.java      
 
Wed Aug  5 09:16:51 2009
@@ -172,7 +172,7 @@
       *            not.
       */
      public void setFullScreenMode(final boolean fullScreenMode) {
-        if (fullScreenMode != isFullScreenMode()) {
+        if (fullScreenMode != isFullScreenMode() || !isVisible()) {
              if (fullScreenMode) {
                  switchToFullScreenMode();
              }

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to