mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-19 01:24:20 +00:00
TabBar: Tab-bars with ImGuiTabBarFlags_FittingPolicyScroll can be scrolled with horizontal mouse-wheel (or Shift + WheelY). (#2702)
This commit is contained in:
parent
84fd0c7ff4
commit
5f301914a0
4 changed files with 26 additions and 4 deletions
|
|
@ -3867,7 +3867,7 @@ void ImGui::MarkItemEdited(ImGuiID id)
|
|||
g.LastItemData.StatusFlags |= ImGuiItemStatusFlags_Edited;
|
||||
}
|
||||
|
||||
static inline bool IsWindowContentHoverable(ImGuiWindow* window, ImGuiHoveredFlags flags)
|
||||
bool ImGui::IsWindowContentHoverable(ImGuiWindow* window, ImGuiHoveredFlags flags)
|
||||
{
|
||||
// An active popup disable hovering on other windows (apart from its own children)
|
||||
// FIXME-OPT: This could be cached/stored within the window.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue