From 41847fce244fdd0d01971c302b89d1252f6497ed Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 31 Jul 2026 19:01:28 -0300 Subject: a wheel tick slides the pane instead of jumping it --- build.zig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'build.zig') diff --git a/build.zig b/build.zig index 59eb6e87..781cc848 100644 --- a/build.zig +++ b/build.zig @@ -724,6 +724,15 @@ pub fn build(b: *std.Build) void { // is a second thing to keep in step. const core_test = b.addTest(.{ .root_module = hx_core_mod }); unit_step.dependOn(&b.addRunArtifact(core_test).step); + // gui.zig's own inline tests (the smooth-scroll ease). Only reachable + // with -Dplatform=gui, and it links the SAME module the gui exe does + // for the same reason core_test does: SDL, the shaders and the font + // are already wired onto it, and a second wiring is a second thing to + // keep in step. + if (platform == .gui) { + const gui_test = b.addTest(.{ .root_module = root_mod }); + unit_step.dependOn(&b.addRunArtifact(gui_test).step); + } } } -- cgit v1.3