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

@@ -167,7 +167,7 @@ fn collection(
.metric_modifiers = key.metric_modifiers,
};
var c = try Collection.init(self.alloc);
var c = Collection.init();
errdefer c.deinit(self.alloc);
c.load_options = load_options;