From 9f08612f25df0a7ceceeee1ff5005f922f660621 Mon Sep 17 00:00:00 2001 From: itsRevela Date: Mon, 30 Mar 2026 14:10:50 -0500 Subject: [PATCH] fix: graphics settings layout broken by removeControl on Windows64 BedrockFog removal via removeControl with centreScene=true triggered Flash-side repositioning that didn't account for the tool-added VSync and Fullscreen checkboxes, creating a gap after CustomSkinAnim and causing RenderDistance to render behind Gamma. On Windows64 (single player per client), the console splitscreen host-check that removed BedrockFog/CustomSkinAnim is unnecessary. Gate it behind #ifndef _WINDOWS64 so all controls stay visible. --- .../Common/UI/UIScene_SettingsGraphicsMenu.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Minecraft.Client/Common/UI/UIScene_SettingsGraphicsMenu.cpp b/Minecraft.Client/Common/UI/UIScene_SettingsGraphicsMenu.cpp index 6b1fd6d3..d120fbea 100644 --- a/Minecraft.Client/Common/UI/UIScene_SettingsGraphicsMenu.cpp +++ b/Minecraft.Client/Common/UI/UIScene_SettingsGraphicsMenu.cpp @@ -100,23 +100,21 @@ UIScene_SettingsGraphicsMenu::UIScene_SettingsGraphicsMenu(int iPad, void *initD // if we're not in the game, we need to use basescene 0 if(bInGame) { - // If the game has started, then you need to be the host to change the in-game gamertags +#ifndef _WINDOWS64 + // Console splitscreen: non-host and non-primary players can't change world-level settings if(bIsPrimaryPad) - { - // we are the primary player on this machine, but not the game host - // are we the game host? If not, we need to remove the bedrockfog setting + { if(!g_NetworkManager.IsHost()) { - // hide the in-game bedrock fog setting removeControl(&m_checkboxBedrockFog, true); } } else { - // We shouldn't have the bedrock fog option, or the m_CustomSkinAnim option removeControl(&m_checkboxBedrockFog, true); removeControl(&m_checkboxCustomSkinAnim, true); } +#endif } if(app.GetLocalPlayerCount()>1)