From 6de58778b610e75453b03a3a934794186cc8e356 Mon Sep 17 00:00:00 2001 From: Aceeri Date: Sat, 29 Jul 2023 13:28:07 -0700 Subject: [PATCH] Formatting --- src/plugin/systems.rs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/plugin/systems.rs b/src/plugin/systems.rs index 44090f70..0a6112e5 100644 --- a/src/plugin/systems.rs +++ b/src/plugin/systems.rs @@ -84,11 +84,7 @@ pub type ColliderComponents<'a> = ( pub fn apply_scale( config: Res, mut changed_collider_scales: Query< - ( - &mut Collider, - &GlobalTransform, - Option<&ColliderScale>, - ), + (&mut Collider, &GlobalTransform, Option<&ColliderScale>), Or<( Changed, Changed, @@ -170,10 +166,10 @@ pub fn apply_collider_user_changes( co.set_position_wrt_parent(utils::transform_to_iso(&collider_position, scale)); } } else if let Some(co) = context.colliders.get_mut(handle.0) { - co.set_position(utils::transform_to_iso( - &transform.compute_transform(), - scale, - )) + co.set_position(utils::transform_to_iso( + &transform.compute_transform(), + scale, + )) } }