bevy/crates/bevy_sprite/src
ickshonpe 7a5a734452
Replace map + unwrap_or(false) with is_some_and (#17067)
# Objective

The `my_option.map(|inner| inner.is_whatever).unwrap_or(false)` pattern
is fragile and ugly.

Replace it with `is_some_and` everywhere.
2024-12-31 20:28:02 +00:00
..
mesh2d Refactor batch_and_prepare_binned_render_phase in preparation for bin retention. (#16922) 2024-12-30 20:11:31 +00:00
render prepare_sprite_image_bind_groups refactor (#17045) 2024-12-30 22:54:04 +00:00
texture_slice BorderRect maintenance (#16727) 2024-12-12 04:33:44 +00:00
bundle.rs Improved UiImage and Sprite scaling and slicing APIs (#16088) 2024-11-04 15:14:03 +00:00
dynamic_texture_atlas_builder.rs Remove unnecessary cast in DynamicTextureAtlasBuilder (#16937) 2024-12-24 17:14:06 +00:00
lib.rs Fix Text2d performance regression (#16991) 2024-12-29 23:14:33 +00:00
picking_backend.rs Replace map + unwrap_or(false) with is_some_and (#17067) 2024-12-31 20:28:02 +00:00
sprite.rs Remove the type parameter from check_visibility, and only invoke it once. (#16812) 2024-12-17 04:43:45 +00:00
texture_atlas_builder.rs Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00
texture_atlas.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00