Skip to content

fix: logo rendering order after closing host options#907

Open
Alezito2008 wants to merge 1 commit intosmartcmd:mainfrom
Alezito2008:fix/dim-logo
Open

fix: logo rendering order after closing host options#907
Alezito2008 wants to merge 1 commit intosmartcmd:mainfrom
Alezito2008:fix/dim-logo

Conversation

@Alezito2008
Copy link
Contributor

Description

Fixed a UI rendering order bug where the game logo appeared darkened after opening and closing the Host Options menu.

Changes

Previous Behavior

When opening the pause menu after closing the host options menu, the background dimming effect would render on top of the game logo, making it look dark.

Root Cause

UIScene_InGameInfoMenu::handleDestroy was calling removeComponent(eUIComponent_MenuBackground). This forced the UILayer to recreate and re-insert the background at the end of the m_components vector, placing it above the Logo in the draw call stack.

New Behavior

The logo now correctly renders on top of the background at all times, regardless of which menus were previously opened.

Fix Implementation

Removed the unnecessary removeComponent call from UIScene_InGameInfoMenu::handleDestroy

AI Use Disclosure

No

Related Issues

@Alezito2008
Copy link
Contributor Author

Minecraft.2026-03-08.01-39-25.webm

@Alezito2008 Alezito2008 changed the title Fix logo darkening fix: logo rendering order after closing host options Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Title logo gets dim when paused if the Player's List is ever opened

1 participant