Skip to main content

clear_indeterminate_on_user_toggle

Function clear_indeterminate_on_user_toggle 

Source
pub fn clear_indeterminate_on_user_toggle(
    commands: Commands<'_, '_>,
    changes: MessageReader<'_, '_, ToggleChanged>,
    indeterminate: Query<'_, '_, (), With<Indeterminate>>,
)
Expand description

First user toggle clears Indeterminate (web/Qt tri-state contract). Listens to ToggleChanged - fired only by the user input path, not by bind-checked signal pulls.