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

ImgGui.Button() function is not rendering in my program (.NET 7, ImGui.net ver 1.90.0.1, Veldrid.ImGui ver 5.72.0, ClickableTransparentOverlay ver 9.1.0, SixLabors.ImageSharp ver 3.0.2, Vortice.Mathematics ver 1.7.2) #450

Open
DucksterBoo123 opened this issue Nov 21, 2023 · 1 comment

Comments

@DucksterBoo123
Copy link

DucksterBoo123 commented Nov 21, 2023

Depending on where I place it, a debug panel is instanced with nothing inside it, or nothing happens and the code executes as if the button isn't there.

if (ImGui.Button("Button"))
{
    slide = 100; //this is assigning a number to an integer variable that is shared by a slider.
}
Screenshot 2023-11-21 at 13 03 51

The button should be below the check box and above the "You chose: person1" text output. This version of the code does not instance the debug panel and just runs was if the function was never there.

@zaafar
Copy link
Collaborator

zaafar commented Nov 21, 2023

sorry, I can not reproduce the issue locally.
Looks like something wrong on your side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants