aboutsummaryrefslogtreecommitdiff
path: root/src/imgui.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/imgui.zig')
-rw-r--r--src/imgui.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imgui.zig b/src/imgui.zig
index 688e935..f086f2a 100644
--- a/src/imgui.zig
+++ b/src/imgui.zig
@@ -30,13 +30,13 @@ pub fn update(alloc: std.mem.Allocator, buf: [:0]u8) !void {
}
if (z.collapsingHeader("Radius", .{ .default_open = true })) {
for (&cfg.radius, 0..) |*r, i| {
- const str = rul.colorToStringZ(i);
+ const str = rul.colorToStringZ(i, "", " Radius");
_ = z.sliderInt(str, .{ .v = r, .min = cfg.minDistance, .max = 500 });
}
}
if (z.collapsingHeader("Speed", .{ .default_open = true })) {
for (&cfg.speed, 0..) |*s, i| {
- const str = rul.colorToStringZ(i);
+ const str = rul.colorToStringZ(i, "", " Speed");
_ = z.sliderInt(str, .{ .v = s, .min = 1, .max = 1000 });
}
}