Skip to content

Fix ComboBox drawing over cursor (in mt_ui 1) - #664

Open
TheLostInPlace wants to merge 1 commit into
themrdemonized:all-in-one-vs2022-wpo-mtfrom
TheLostInPlace:clean-mt
Open

Fix ComboBox drawing over cursor (in mt_ui 1)#664
TheLostInPlace wants to merge 1 commit into
themrdemonized:all-in-one-vs2022-wpo-mtfrom
TheLostInPlace:clean-mt

Conversation

@TheLostInPlace

Copy link
Copy Markdown
Contributor

With mt_ui 1 the ui update runs on the game thread while seqRender processes on the main thread, so the per frame remove and add landed mid iteration and the open list painted after the cursor.

Registering once in the constructor keeps the slot in sorted order and the render callback now draws the list only while the box and every parent are shown.

…rsor

With mt_ui 1 the ui update runs on the game thread while seqRender processes on the main thread, so the per frame remove and add landed mid iteration and the open list painted after the cursor.
Registering once in the constructor keeps the slot in sorted order and the render callback now draws the list only while the box and every parent are shown.
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.

1 participant