pub fn clear_slider_drag_origin_on_end(
commands: Commands<'_, '_>,
ends: MessageReader<'_, '_, DragEndEvent>,
sliders: Query<'_, '_, (), With<SliderDragOrigin>>,
parents: Query<'_, '_, &ChildOf>,
)Expand description
A drag that ends normally (pointer release) commits the dragged value: drop the snapshot so a later Escape doesn’t roll back a finished interaction.