mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 05:18:40 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user