From 4da33c0d2c151fbf6c502031d2e095f00d32689c Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Fri, 23 Feb 2024 11:21:47 -0800 Subject: [PATCH] eliminate noop in ui layout pass --- src/ui/ui_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ui/ui_core.c b/src/ui/ui_core.c index 4f4e7c51..863b92a2 100644 --- a/src/ui/ui_core.c +++ b/src/ui/ui_core.c @@ -1584,7 +1584,6 @@ ui_layout_enforce_constraints__in_place_rec(UI_Box *root, Axis2 axis) F32 fixup_pct = (violation / total_weighted_size); fixup_pct = Clamp(0, fixup_pct, 1); child->fixed_size.v[axis] -= child_fixups[child_idx] * fixup_pct; - child->fixed_size.v[axis] = child->fixed_size.v[axis]; } } }