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

update raygui #4238

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

CrackedPixel
Copy link
Sponsor Contributor

Copy/pasted from raygui repo

Comment on lines +2985 to +2986
//char textValue[RAYGUI_VALUEBOX_MAX_CHARS + 1] = "\0";
//sprintf(textValue, "%2.2f", *value);

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
@@ -3006,17 +3141,22 @@
}

// Control value change check
if(oldValue == *value) result = 0;
if (oldValue == *value) result = 0;

Check notice

Code scanning / CodeQL

Equality test on floating-point values Note

Equality checks on floating point values can yield unexpected results.
@raysan5 raysan5 merged commit 5233b80 into raysan5:master Aug 9, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Aug 9, 2024

@CrackedPixel thanks for the update

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

Successfully merging this pull request may close these issues.

2 participants