Skip to content

Unresponsive controls on repeated elements with same label #96

Closed
@jristic

Description

I'm having trouble with the following bit of code:

for (int& digit : digits) {
    ImGui::InputInt("int", &digit);
}

The elements following the first don't seem to work correctly (won't increase/decrease unless the button is held) if they are given the same label. Are the labels supposed to be unique?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions