summaryrefslogtreecommitdiff
path: root/anim/src/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'anim/src/root.zig')
-rw-r--r--anim/src/root.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/anim/src/root.zig b/anim/src/root.zig
index 6aa47de..2f59420 100644
--- a/anim/src/root.zig
+++ b/anim/src/root.zig
@@ -251,8 +251,10 @@ pub const Context = struct {
}
};
-pub fn context(s: *anim.Frame, at: Cursor, options: Context.Options) Context {
+pub fn context(s: *anim.Frame, cursor_: Cursor, options: Context.Options) Context {
const stage = Stage.init(s, options.split);
+ var at = cursor_;
+ at.levels.crossings = options.syscalls;
return .{
.stage = stage,
.cursor = at,