From d6070001d05c8726bda1c82ce4ecd98dd2241611 Mon Sep 17 00:00:00 2001 From: Sally Knight Date: Tue, 24 Mar 2026 22:38:54 +0300 Subject: [PATCH] fix(jui): re-enable screen reinitialization on resize --- Minecraft.Client/Minecraft.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/Minecraft.cpp b/Minecraft.Client/Minecraft.cpp index 92f4ae5f7..140703f53 100644 --- a/Minecraft.Client/Minecraft.cpp +++ b/Minecraft.Client/Minecraft.cpp @@ -2366,8 +2366,10 @@ void Minecraft::resize(int width, int height) { ScreenSizeCalculator ssc(options, this->width, height); int screenWidth = ssc.getWidth(); int screenHeight = ssc.getHeight(); - // screen->init(this, screenWidth, screenHeight); // 4J - - // TODO - put back in + screen->init( + this, screenWidth, + screenHeight); // 4jcraft: uncommented to immediately scale on + // resize now that we have correct ssc usage } }