Browse Source

Doc: Fix typo. (#7974)

pull/2739/merge
David Briscoe 2 months ago
committed by GitHub
parent
commit
52a6ab44b1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      imgui.cpp

2
imgui.cpp

@ -9046,7 +9046,7 @@ bool ImGui::IsKeyPressed(ImGuiKey key, bool repeat)
return IsKeyPressed(key, repeat ? ImGuiInputFlags_Repeat : ImGuiInputFlags_None, ImGuiKeyOwner_Any);
}
// Important: unless legacy IsKeyPressed(ImGuiKey, bool repeat=true) which DEFAULT to repeat, this requires EXPLICIT repeat.
// Important: unlike legacy IsKeyPressed(ImGuiKey, bool repeat=true) which DEFAULT to repeat, this requires EXPLICIT repeat.
bool ImGui::IsKeyPressed(ImGuiKey key, ImGuiInputFlags flags, ImGuiID owner_id)
{
const ImGuiKeyData* key_data = GetKeyData(key);

Loading…
Cancel
Save