mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
ba3069f008
# Objective - While building UI, it makes more sense for most nodes to have a `FocusPolicy` of `Pass`, so that user interaction can correctly bubble - Only `ButtonBundle` blocks by default This change means that for someone adding children to a button, it's not needed to change the focus policy of those children to `Pass` for the button to continue to work. --- ## Changelog - `FocusPolicy` default has changed from `FocusPolicy::Block` to `FocusPolicy::Pass` ## Migration Guide - `FocusPolicy` default has changed from `FocusPolicy::Block` to `FocusPolicy::Pass` |
||
---|---|---|
.. | ||
flex | ||
render | ||
widget | ||
camera_config.rs | ||
focus.rs | ||
geometry.rs | ||
lib.rs | ||
node_bundles.rs | ||
stack.rs | ||
ui_node.rs | ||
update.rs |