From 4eef04447ebb2458510941b19a67560b489327db Mon Sep 17 00:00:00 2001 From: LAX1DUDE Date: Sun, 25 Dec 2022 20:11:11 -0800 Subject: [PATCH] Update #1 - Credits Fix --- client_version | 2 +- .../net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java | 4 ++-- sources/resources/assets/eagler/CREDITS.txt | 4 ---- .../eaglercraft/v1_8/internal/PlatformApplication.java | 4 ++-- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/client_version b/client_version index d17b4cf..3ef258d 100644 --- a/client_version +++ b/client_version @@ -1 +1 @@ -u0 \ No newline at end of file +u1 \ No newline at end of file diff --git a/sources/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java b/sources/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java index d6e7dc2..10261db 100644 --- a/sources/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java +++ b/sources/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java @@ -8,7 +8,7 @@ public class EaglercraftVersion { /// Customize these to fit your fork: public static final String projectForkName = "EaglercraftX"; - public static final String projectForkVersion = "u0"; + public static final String projectForkVersion = "u1"; public static final String projectForkVendor = "lax1dude"; public static final String projectForkURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; @@ -23,7 +23,7 @@ public class EaglercraftVersion { public static final String projectOriginName = "EaglercraftX"; public static final String projectOriginAuthor = "lax1dude"; public static final String projectOriginRevision = "1.8"; - public static final String projectOriginVersion = "u0"; + public static final String projectOriginVersion = "u1"; public static final String projectOriginURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; diff --git a/sources/resources/assets/eagler/CREDITS.txt b/sources/resources/assets/eagler/CREDITS.txt index 7f6ab47..50e7d3e 100644 --- a/sources/resources/assets/eagler/CREDITS.txt +++ b/sources/resources/assets/eagler/CREDITS.txt @@ -547,7 +547,3 @@ * limitations under the License. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - - Make sure you also update the copy of this file in "sources/resources/assets/eagler/CREDITS" - - The content of both files should match, but not include this notice in the resources one diff --git a/sources/teavm/java/net/lax1dude/eaglercraft/v1_8/internal/PlatformApplication.java b/sources/teavm/java/net/lax1dude/eaglercraft/v1_8/internal/PlatformApplication.java index c2ba17a..da52dbc 100644 --- a/sources/teavm/java/net/lax1dude/eaglercraft/v1_8/internal/PlatformApplication.java +++ b/sources/teavm/java/net/lax1dude/eaglercraft/v1_8/internal/PlatformApplication.java @@ -220,8 +220,8 @@ public class PlatformApplication { public static void openCreditsPopup(String text) { Window currentWin = Window.current(); - int w = (int)(530 * currentWin.getDevicePixelRatio()); - int h = (int)(450 * currentWin.getDevicePixelRatio()); + int w = (int)(850 * currentWin.getDevicePixelRatio()); + int h = (int)(700 * currentWin.getDevicePixelRatio()); int x = (currentWin.getScreen().getWidth() - w) / 2; int y = (currentWin.getScreen().getHeight() - h) / 2;