fix(jui): re-enable screen reinitialization on resize

This commit is contained in:
Sally Knight 2026-03-24 22:38:54 +03:00
parent ca533de1c3
commit d6070001d0

View file

@ -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
}
}