Merge pull request #149 from wyattscarpenter/patch-1

use integer for integer bound
This commit is contained in:
Komari Spaghetti 2020-06-11 14:45:45 +02:00 committed by GitHub
commit ad8c1ca091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ overview(struct nk_context *ctx)
nk_label(ctx, "Property float:", NK_TEXT_LEFT);
nk_property_float(ctx, "Float:", 0, &property_float, 64.0f, 0.1f, 0.2f);
nk_label(ctx, "Property int:", NK_TEXT_LEFT);
nk_property_int(ctx, "Int:", 0, &property_int, 100.0f, 1, 1);
nk_property_int(ctx, "Int:", 0, &property_int, 100, 1, 1);
nk_label(ctx, "Property neg:", NK_TEXT_LEFT);
nk_property_int(ctx, "Neg:", -10, &property_neg, 10, 1, 1);