![]() # Objective Constify `Val::resolve` and `BorderRadius::resolve` # Solution * Replace uses of `Vec2::min_element` and `Vec2::max_element` with `min` and `max` called on the components. * Make `BorderRadius::resolve` and `BorderRadius::resolve_single_corner` `const`. * Swap the order of the `bottom_left` and `bottom_right` fields of `BorderRadius` and `ResolvedBorderRadius` so they match the ccw order used in the shader and in css. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |