Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dragInt3 only shows 2 boxes? #68

Closed
BBonless opened this issue Jul 26, 2021 · 3 comments
Closed

dragInt3 only shows 2 boxes? #68

BBonless opened this issue Jul 26, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@BBonless
Copy link

When using ImGui.dragInt3 like so for example:

int[] TestArray = new int[3];
ImGui.dragInt3("Test", TestArray);

The result is identical to a dragInt2, there are only 2 boxes available.

image_2021-07-26_225406

@SpaiR
Copy link
Owner

SpaiR commented Jul 27, 2021

Yeah, there is a mistake in the binding API and instead of calling DragInt3 method calls DragInt2. That could be easily fixed.
https://github.com/SpaiR/imgui-java/blob/master/imgui-binding/src/main/java/imgui/ImGui.java#L2095-L2113

@SpaiR SpaiR added bug Something isn't working good first issue labels Jul 27, 2021
@BBonless
Copy link
Author

Ah I see, thanks :)

@SpaiR
Copy link
Owner

SpaiR commented Jul 27, 2021

It's still an issue until someone will resolve the problem. Let it to be open.

@SpaiR SpaiR reopened this Jul 27, 2021
@SpaiR SpaiR closed this as completed in e529c61 Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants