Merge pull request #1402 from elect86/patch-1

Minor fix typo
features/sdl_renderer3_multiviewports
omar ago%!(EXTRA string=8 years) committed by GitHub
commit e55caf0b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      imgui.cpp

@ -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…
Cancel
Save