mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Error Handling: fixed an issue ErrorCheckEndWindowRecover() when aborting in a child inside a tab bar. (#1651)
This commit is contained in:
parent
7f81fbc542
commit
bc77041b57
3 changed files with 5 additions and 4 deletions
|
|
@ -9146,6 +9146,7 @@ bool ImGui::BeginTabBarEx(ImGuiTabBar* tab_bar, const ImRect& tab_bar_bb, ImG
|
|||
// Add to stack
|
||||
g.CurrentTabBarStack.push_back(GetTabBarRefFromTabBar(tab_bar));
|
||||
g.CurrentTabBar = tab_bar;
|
||||
tab_bar->Window = window;
|
||||
|
||||
// Append with multiple BeginTabBar()/EndTabBar() pairs.
|
||||
tab_bar->BackupCursorPos = window->DC.CursorPos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue