Начало фикса json
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user