Skip to content

fix(hud): prevent flicker when opening/closing OneConfig - #979

Open
saadndm wants to merge 2 commits into
Polyfrost:v1from
saadndm:fix/flicker
Open

fix(hud): prevent flicker when opening/closing OneConfig#979
saadndm wants to merge 2 commits into
Polyfrost:v1from
saadndm:fix/flicker

Conversation

@saadndm

@saadndm saadndm commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Description

Hud elements could disappear for one frame causing flickering:

  • In < 1.21.8: On first open and on every close

  • In >= 1.21.8: On every close

  • Caused by the transition between Compose and normal HUD rendering being out of sync

  • Fixed by making sure either Compose or normal HUD rendering remains visible when control switches to the other, comments explain with more detail

Before (Capped at 10fps to make it visible to recording):

before.mp4

After:

after.mp4

Testing

Tested on 1.21.1, 1.21.4, 1.21.5, 1.21.8, 26.1, 26.2

Checklist

  • I made a clear description of what was changed
  • I stated why these changes were necessary
  • I updated documentation or said what needs to be updated
  • I made sure these changes are backwards compatible
  • This pull request is for one feature/bug fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants