Skip to content

Document not visually becoming hidden after calling Hide() #530

Answered by mikke89
Konjointed asked this question in Q&A
Discussion options

You must be logged in to vote

Hm, are you saying that after calling leave(), the context is no longer updated or rendered? And yet the document is being rendered? The only reason I can think of is that you keep the framebuffer somewhere that you don't clear, yet keep rendering. RmlUi will not make any render calls if you don't call Context::Render.

And just in general, make sure that Context::Update is called before Context::Render, although I'm not sure if this makes a difference in this case.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Konjointed
Comment options

@mikke89
Comment options

Answer selected by Konjointed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants