Skip to content

Commit

Permalink
Tables: a clipped scrolling table correctly clears SetNextWindowXXX f…
Browse files Browse the repository at this point in the history
…lags. (ocornut#8196)

Amend 43c51eb
  • Loading branch information
ocornut committed Feb 7, 2025
1 parent e5668b8 commit e368015
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Other changes:
visibility of the preview/hint buffer. (#8368) [@m9710797, @ocornut]
- Scrollbar: Rework logic that fades-out scrollbar when it becomes too small,
which amusingly made it disappear when using very big font/frame size.
- Tables: fixed calling SetNextWindowScroll() on clipped scrolling table
to not leak the value into a subsequent window. (#8196)
- Backends: Metal: Fixed a crash on application resources. (#8367, #7419) [@anszom]
- Backends: WebGPU: Fix for DAWN API rename WGPUProgrammableStageDescriptor -> WGPUComputeState.
[@PhantomCloak] (#8369)
Expand Down
1 change: 1 addition & 0 deletions imgui_tables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ bool ImGui::BeginTableEx(const char* name, ImGuiID id, int columns_count, ImG
{
ItemSize(outer_rect);
ItemAdd(outer_rect, id);
g.NextWindowData.ClearFlags();
return false;
}

Expand Down

0 comments on commit e368015

Please sign in to comment.