mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-27 02:40:05 +00:00
commit
e55caf0b95
1 changed files with 1 additions and 1 deletions
|
|
@ -1984,7 +1984,7 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id)
|
|||
}
|
||||
|
||||
// This is roughly matching the behavior of internal-facing ItemHoverable()
|
||||
// - we allow hovering to be true when ActiveId==window->MoveID, so that clicking on non-interactive items such as a Text() item still returns true with IsItemHovered())
|
||||
// - we allow hovering to be true when ActiveId==window->MoveID, so that clicking on non-interactive items such as a Text() item still returns true with IsItemHovered()
|
||||
// - this should work even for non-interactive items that have no ID, so we cannot use LastItemId
|
||||
bool ImGui::IsItemHovered(ImGuiHoveredFlags flags)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue