blinking debug windows when using BeginListbox #4596
SadE54
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 1 comment 1 reply
-
You are not testing the return value of BeginListBox() so during a frame where it is clipped you are closing two windows and outputting in the window at the bottom of the stack (debug window)
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ,
In my application (flow based editor) I have to manage a deferred popup that is shown when the user clicks on some specific pins , and then you're able to chose some existing vars using a listbox.
I have something like this:
The second case is using BeginListBox because I need to manage the content dynamically.
The popup is activated by a button linked to some pins
And it's working almost as I want , except that the in second case (using BeginListBox()) , I can see debug window opening and closing immediately at the moment the popup is opened.
I guess ListBox() is using BeginListBox() internally, so I do not understand why it's working well in one case and noo in the other
🤔
(I'm using ImGui 1.84 on Win 10 with DX11 backend)
Beta Was this translation helpful? Give feedback.
All reactions