cache font setting calculations per-frame rather than recomputing all the time, fix some expandability calculations in eval visualization w/ multiple composing views

This commit is contained in:
Ryan Fleury
2025-04-28 14:04:02 -07:00
parent 0cdcb06db8
commit fff259e113
5 changed files with 95 additions and 65 deletions
+1 -1
View File
@@ -1264,7 +1264,7 @@ e_type_data_members_from_key(Arena *arena, E_TypeKey key)
U64 last_member_off = 0;
for(U64 member_idx = 0; member_idx < type->count; member_idx += 1)
{
if(type->members[member_idx].kind == E_MemberKind_DataField)
if(type->members[member_idx].name.size != 0 && type->members[member_idx].kind == E_MemberKind_DataField)
{
E_MemberNode *n = push_array(scratch.arena, E_MemberNode, 1);
MemoryCopyStruct(&n->v, &type->members[member_idx]);