mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 04:49:41 -07:00
eliminate noop in ui layout pass
This commit is contained in:
1 parent
dd0416f9f9
commit
4da33c0d2c
1 file changed
-1
@@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user