mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02: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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user