git
/
simulator.git
/
docs
/
bevy
/
release-content
/
migration-guides
/
focus_cause_auto.md
log
tree
refs
docs/bevy/release-content/migration-guides/focus_cause_auto.md
255 B · 6 lines ·
raw
·
history
1
---
2
title: FocusCause has a new Auto variant
3
pull_requests: [25059]
4
---
5
6
`FocusCause`
has a new
`Auto`
variant, which is emitted when an
`AutoFocus`
component causes an entity to gain focus. Exhaustive matches on
`FocusCause`
must handle the new variant.