[Jrisk-cvs] SF.net SVN: domination-code:[2650] Domination
Brought to you by:
yuranet
|
From: <yu...@us...> - 2025-03-02 11:31:50
|
Revision: 2650
http://sourceforge.net/p/domination/code/2650
Author: yuranet
Date: 2025-03-02 11:31:38 +0000 (Sun, 02 Mar 2025)
Log Message:
-----------
fix for error when opening loading screen twice
Modified Paths:
--------------
Domination/sharedUI/src_mapstore_lobby/net/yura/swingme/core/LoadingScreen.java
Domination/swingUI/res/ReadMe.txt
Modified: Domination/sharedUI/src_mapstore_lobby/net/yura/swingme/core/LoadingScreen.java
===================================================================
--- Domination/sharedUI/src_mapstore_lobby/net/yura/swingme/core/LoadingScreen.java 2025-03-01 19:43:00 UTC (rev 2649)
+++ Domination/sharedUI/src_mapstore_lobby/net/yura/swingme/core/LoadingScreen.java 2025-03-02 11:31:38 UTC (rev 2650)
@@ -32,7 +32,11 @@
instance.setLocationRelativeTo(null);
}
- instance.setVisible(true);
+ // this can get called multiple times as we may be opening something from multiple possible locations
+ // e.g. 'open file' or 'load from online, then open file'
+ if (!instance.isVisible()) {
+ instance.setVisible(true);
+ }
}
public static void hide() {
Modified: Domination/swingUI/res/ReadMe.txt
===================================================================
--- Domination/swingUI/res/ReadMe.txt 2025-03-01 19:43:00 UTC (rev 2649)
+++ Domination/swingUI/res/ReadMe.txt 2025-03-02 11:31:38 UTC (rev 2650)
@@ -2,7 +2,8 @@
Java 1.5 or higher must be installed to run @game.name@
-Miniumum Resolulation is 1024x768
+For GameGUI and SwingGUI the miniumum resolulation is 1024x768
+For any resolution smaller then this please use MiniGUI
For information look in the manual or visit @game.website@
@@ -15,4 +16,4 @@
send questions and comments to: yu...@yu...
-Copyright (c) 2003-2024 yura.net
+Copyright (c) 2003-2025 yura.net
|