mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Fixed cursor issue caused by 6890e08b when calling BeginChild/EndChild multiple times to reappend into a same child window. (#2282)
This commit is contained in:
parent
7a5058e3bf
commit
b8c6e31c2d
2 changed files with 3 additions and 2 deletions
|
|
@ -1983,7 +1983,7 @@ static void ShowDemoWindowLayout()
|
|||
{
|
||||
ImGui::BeginChild("scrolling"); // Demonstrate a trick: you can use Begin to set yourself in the context of another window (here we are already out of your child window)
|
||||
ImGui::SetScrollX(ImGui::GetScrollX() + scroll_x_delta);
|
||||
ImGui::End();
|
||||
ImGui::EndChild();
|
||||
}
|
||||
ImGui::TreePop();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue