Talin

Results 296 comments of Talin

FnOnce: Certainly worth investigating.

> Is this what you're looking for [#15066](https://github.com/bevyengine/bevy/pull/15066)? Not as I understand it. That returns the hidden entity; what I'm looking for is components, not entities.

Another approach would be to have something like a fallible single-entity query: ```rust world.observe(|target: Trigger, query: QueryListener| { let (button, hovered, disabled) = query.get(); /// add behavior common to all...

Here's a code pattern that occurs many times in my code: ```rust fn checkbox_on_pointer_click( mut ev: On, q_checkbox: Query, mut commands: Commands, ) { if let Ok((checkbox, is_checked, disabled)) =...

Thinking about this some more on my walk today. This idea overlaps with @cart's `Com` proposal in #17917 . However, I think that solution may be too restrictive: it assumes...

More thinking along these lines. Let's define some terms: * An `Inquiry` is a special type of `Query` that targets a single entity, which is the *subject* of the inquiry....

This particular example is using align, not justify (it's a flex row, not a column) - but I think the type of alignment doesn't matter. I've seen it in a...

Here's what it looks like with Ubuntu: ![Image](https://github.com/user-attachments/assets/24fcf4a0-ce43-4a69-8cbc-226c029741a5)

It does look better with FiraSans: ![Image](https://github.com/user-attachments/assets/4af7f45f-2cd1-47a8-93c6-41d2140b8d82)