Skip to content

ImGui::GetKeyIndex function does not exist in current version of ImGui (1.91) #158

@jakerieger

Description

@jakerieger
if (!IsReadOnly() && ctrl && !shift && !alt && ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Z)))

should be changed to:

if (!IsReadOnly() && ctrl && !shift && !alt && ImGui::IsKeyPressed(ImGuiKey_Z))

Error: error C2039: 'GetKeyIndex': is not a member of 'ImGui'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions