mirror of
https://github.com/bevyengine/bevy
synced 2024-11-24 21:53:07 +00:00
56ac38120b
Tweaks picking docs slightly for formatting and to add additional context about the ordering of `Over` and `Out` events. Also shifts `Out` to trigger before `Over` in the global event ordering. Because of how focus is tracked, we must send all `Over` and `Out` events at the same time, in a block. Originally I had `Over` precede `Out` in the global event order, because this seemed natural. However, the effect of this, when a pointer moves between entities, is to have the new entity receive `Over` before the old entity received `Out`, which several users found confusing. The new ordering (out before over globally, over before out locally per entity) should make it much easier to write hover state cleanup code. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |