font: Collection uses SegmentedList for styles for pointer stability

This commit is contained in:
Mitchell Hashimoto
2024-08-23 14:49:51 -07:00
parent c183e71a92
commit 1f3ccb2d66
6 changed files with 50 additions and 43 deletions

View File

@@ -325,7 +325,7 @@ const TestMode = enum { normal };
fn testGrid(mode: TestMode, alloc: Allocator, lib: Library) !SharedGrid {
const testFont = @import("test.zig").fontRegular;
var c = try Collection.init(alloc);
var c = Collection.init();
c.load_options = .{ .library = lib };
switch (mode) {