Skip to content

Commit

Permalink
Adjust configuration argument
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonieaj committed Jun 13, 2024
1 parent 9cc1e9e commit 0cf97a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion memory-viz/src/automate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function drawAutomated(objects: DrawnEntity[], width, configuration) {
const m = new MemoryModel({
width: width,
height: final_height,
roughjs_config: { options: { seed: configuration.seed } },
roughjs_config: configuration.roughjs_config,
});

m.drawAll(StackFrames);
Expand Down
2 changes: 1 addition & 1 deletion memory-viz/src/user_functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function draw(objects, automation, configuration) {
m = new MemoryModel({
width: configuration.width,
height: configuration.height,
roughjs_config: { options: { seed: configuration.seed } },
roughjs_config: configuration.roughjs_config,
});
m.drawAll(objs);
}
Expand Down

0 comments on commit 0cf97a4

Please sign in to comment.