Начало фикса json

This commit is contained in:
2026-03-02 17:19:55 +03:00
parent b692539a30
commit 8ea5d97c2d
12 changed files with 55 additions and 58 deletions

View File

@@ -92,7 +92,7 @@ pub fn exampleReset(self: *Canvas) !void {
}
pub fn addRandomShapes(self: *Canvas) !void {
try random_document.addRandomShapes(self.document, std.crypto.random);
try random_document.addRandomShapes(self.document, self.allocator, std.crypto.random);
self.requestRedraw();
}