![]() 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. |
||
---|---|---|
.. | ||
mesh_picking | ||
backend.rs | ||
events.rs | ||
focus.rs | ||
input.rs | ||
lib.rs | ||
pointer.rs |