Skip to content

bad handling of bool's #936

Description

@MyTDT-Mysoft

you have parameters that use nk_bool, like for the nk_input_button, however you are handling those as int's instead... and in some places even comparing against "true" if (down==1 && ...) ... which is a bug and should be if (down && ...) (for the click on button release) and similar logic for the dragging of move/size)

so passing anything but 1 to that to cause those to fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions