bevy/crates/bevy_ui/src
IceSentry f119d9df8e Add DrawFunctionsInternals::id() (#6745)
# Objective

- Every usage of `DrawFunctionsInternals::get_id()` was followed by a `.unwrap()`. which just adds boilerplate.

## Solution

- Introduce a fallible version of `DrawFunctionsInternals::get_id()` and use it where possible.
- I also took the opportunity to improve the error message a little in the case where it fails.

---

## Changelog

- Added `DrawFunctionsInternals::id()`
2022-11-28 13:54:13 +00:00
..
flex Prepare for upcoming rustlang by fixing upcoming clippy warnings (#6376) 2022-10-26 19:15:15 +00:00
render Add DrawFunctionsInternals::id() (#6745) 2022-11-28 13:54:13 +00:00
widget Warn instead of erroring when max_font_atlases is exceeded (#6673) 2022-11-25 23:49:25 +00:00
camera_config.rs ExtractComponent output optional associated type (#6699) 2022-11-21 13:19:44 +00:00
focus.rs Fix panic when the primary window is closed (#6545) 2022-11-12 01:28:31 +00:00
geometry.rs Make function Size::new const for bevy_ui widgets (#6602) 2022-11-14 23:08:29 +00:00
lib.rs Remove ImageMode (#6674) 2022-11-18 21:16:32 +00:00
node_bundles.rs Remove ImageMode (#6674) 2022-11-18 21:16:32 +00:00
stack.rs Add z-index support with a predictable UI stack (#5877) 2022-11-02 22:06:04 +00:00
ui_node.rs Flip UI image (#6292) 2022-11-14 21:59:17 +00:00
update.rs Add z-index support with a predictable UI stack (#5877) 2022-11-02 22:06:04 +00:00