bevy/crates/bevy_ui/src
ickshonpe 5972879dec Remove ImageMode (#6674)
# Objective

Delete `ImageMode`. It doesn't do anything except mislead people into thinking it controls the aspect ratio of images somehow.

Fixes #3933 and #6637

## Solution

Delete `ImageMode`

## Changelog

Removes the `ImageMode` enum.
Removes the `image_mode` field from `ImageBundle`
Removes the `With<ImageMode>` query filter from `image_node_system`
Renames `image_node_system` to` update_image_calculated_size_system`
2022-11-18 21:16:32 +00:00
..
flex Prepare for upcoming rustlang by fixing upcoming clippy warnings (#6376) 2022-10-26 19:15:15 +00:00
render Flip UI image (#6292) 2022-11-14 21:59:17 +00:00
widget Remove ImageMode (#6674) 2022-11-18 21:16:32 +00:00
camera_config.rs Cleaning up NodeBundle, and some slight UI module re-organization (#6473) 2022-11-05 20:48:15 +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