diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 12:26:18 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:31:06 -0300 |
| commit | 718f8af70c31a4f826ea442ba7b7b0fe4c106d5b (patch) | |
| tree | f7a1c1fbab9120835f24676e11fd96589703032d /gui/src | |
| parent | b7a023dd5d08bf152258972118ab2348cf8c8e0d (diff) | |
| download | computeranim-718f8af70c31a4f826ea442ba7b7b0fe4c106d5b.tar.gz computeranim-718f8af70c31a4f826ea442ba7b7b0fe4c106d5b.zip | |
sketchbook's sketch() also takes what the build knows of the app now: the
source revision, and whether its save keeps a history of sessions. The
debugger has its own main, so it passes the defaults: no revision and no
history. Its save keeps the present only, as the old state file did.
Verified zig build test -Doptimize=ReleaseFast in gui: 85/85 steps, 4/4 tests,
the four scripted GUI checks passed headless. A Debug build fails
adaptive.py at 800x700 and 200%, in canim's rows.chain: a clamp whose lower
bound is above its upper. That bug does not come from the library.
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/main.zig b/gui/src/main.zig index 91a2ddf..8b8a72f 100644 --- a/gui/src/main.zig +++ b/gui/src/main.zig @@ -5,5 +5,5 @@ pub fn main(init: std.process.Init) !void { app.io = init.io; app.gpa = init.gpa; defer app.close(); - try @import("host").main(init, @import("sketch").sketch(app)); + try @import("host").main(init, @import("sketch").sketch(app, .{})); } |
