From c51e9414133ee28224f0e46cd0db9b89c9583e85 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Thu, 24 Oct 2024 07:07:51 -0500 Subject: [PATCH] Fix the update screen logo scaling --- .../common/wrappers/gui/updater/UpdateModScreen.java | 6 +++--- coreSubProjects | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java index 198efe1a8..2fbe56f03 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java @@ -69,9 +69,9 @@ public class UpdateModScreen extends DhScreen // Logo image this.addBtn(new TexturedButtonWidget( // Where the button is on the screen - this.width / 2 - 65, this.height / 2 - 110, + this.width / 2 - 95, this.height / 2 - 110, // Width and height of the button - 130, 65, + 195, 65, // Offset 0, 0, // Some textuary stuff @@ -81,7 +81,7 @@ public class UpdateModScreen extends DhScreen #else ResourceLocation.fromNamespaceAndPath(ModInfo.ID, "logo.png"), #endif - 130, 65, + 195, 65, // Create the button and tell it where to go // For now it goes to the client option by default (buttonWidget) -> System.out.println("Nice, you found an easter egg :)"), // TODO: Add a proper easter egg to pressing the logo (maybe with confetti) diff --git a/coreSubProjects b/coreSubProjects index 2a46f0349..9a05ffa73 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 2a46f0349f3eca3142f0b496f3fd65cb7f10f131 +Subproject commit 9a05ffa730961a4825132e3e4cc8f2ccb0640c2a