correctly use all schemas (including inherited ones) when doing lookups/evaluations; shift enabled to using evaluation path rather than just checking the value string; fix visualization of inherited schema values (e.g. font sizes in tabs)

This commit is contained in:
Ryan Fleury
2025-04-17 10:53:11 -07:00
parent f29c017268
commit f1549f6b53
9 changed files with 195 additions and 116 deletions
+1 -1
View File
@@ -1777,7 +1777,7 @@ ui_layout_enforce_constraints__in_place_rec(UI_Box *root, Axis2 axis)
// rjf: if we have a violation, we need to subtract some amount from all children
F32 violation = total_size - total_allowed_size;
if(violation > 0)
if(violation > 0 && total_weighted_size > 0)
{
// rjf: figure out how much we can take in totality
F32 child_fixup_sum = 0;