bevy/crates/bevy_ui/src/render
Martín Maita f9da5eecf2
Rename Rect inset() method to inflate() (#13452)
# Objective

- Fixes #13092.

## Solution

- Renamed the `inset()` method in `Rect`, `IRect` and `URect` to
`inflate()`.
- Added `EMPTY` constants to all `Rect` variants, represented by corners
with the maximum numerical values for each kind.

---

## Migration Guide

- Replace `Rect::inset()`, `IRect::inset()` and `URect::inset()` calls
with `inflate()`.
2024-05-21 20:53:55 +00:00
..
mod.rs Rename Rect inset() method to inflate() (#13452) 2024-05-21 20:53:55 +00:00
pipeline.rs Add border radius to UI nodes (adopted) (#12500) 2024-03-19 22:44:00 +00:00
render_pass.rs Make render phases render world resources instead of components. (#13277) 2024-05-21 18:23:04 +00:00
ui.wgsl Fix UI border artifacts caused by incorrect blending (#12725) 2024-05-15 18:50:30 +00:00
ui_material.wgsl Include UI node size in the vertex inputs for UiMaterial. (#11722) 2024-02-06 16:15:09 +00:00
ui_material_pipeline.rs Make render phases render world resources instead of components. (#13277) 2024-05-21 18:23:04 +00:00
ui_vertex_output.wgsl Include UI node size in the vertex inputs for UiMaterial. (#11722) 2024-02-06 16:15:09 +00:00