Skip to content

Conversation

@Lpsd
Copy link
Member

@Lpsd Lpsd commented Jun 27, 2023

Resolves #3088 - there was a potential race condition from main menu visibility being triggered in CLocalGUI::SetMainMenuVisible and the actual state of the main menu being updated in CMainMenu::Update(). If a call from setCursorAlpha via Lua can get executed somewhere in there, it would override the cursor alpha.

@Lpsd Lpsd changed the title Avoid race condition Fix #3088: Resolve cursor being invisible with main menu open in certain scenarios Jun 27, 2023
@Lpsd Lpsd added the bug Something isn't working label Jun 27, 2023
@sbx320 sbx320 force-pushed the cursor-alpha-fix branch from 4755a56 to 18a3d32 Compare July 2, 2023 22:33
@sbx320 sbx320 merged commit bb1f675 into multitheftauto:master Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Main menu cursor alpha issues

2 participants