Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows flicker for one frame in top-left corner #72

Open
scallyw4g opened this issue Aug 26, 2024 · 0 comments
Open

Windows flicker for one frame in top-left corner #72

scallyw4g opened this issue Aug 26, 2024 · 0 comments

Comments

@scallyw4g
Copy link
Owner

scallyw4g commented Aug 26, 2024

Windows have their initial position set to 0,0 (top-left) and they flicker there for a single frame before being laid out in their actual position.

You could imagine this being fixed in a couple ways:

  1. Just draw the window way off-screen on the first frame (tried this real quick, didn't work immediately with low effort)
  2. Bifurcate the layout and render passes, then:
    2.a) Go back and offset everything to the correct position on the first frame (it depends on the size of the window content)
    2.b) Just skip drawing the window on the first frame.

so.. yeah.

Repository owner deleted a comment from dseynhae Aug 26, 2024
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

No branches or pull requests

1 participant