diff --git a/src/core.rs b/src/core.rs index 5e808fe..ce9d3d3 100644 --- a/src/core.rs +++ b/src/core.rs @@ -420,13 +420,7 @@ pub trait PointLike { "left and ahead" } } - v if v <= 105. => { - if *mode == RelativeDirectionMode::ClockFacing { - "9:00" - } else { - "left" - } - } + v if v <= 105. => "left", v if v <= 135. => { if *mode == RelativeDirectionMode::ClockFacing { "8:00" @@ -456,13 +450,7 @@ pub trait PointLike { "right and behind" } } - v if v <= 285. => { - if *mode == RelativeDirectionMode::ClockFacing { - "3:00" - } else { - "right" - } - } + v if v <= 285. => "right", v if v <= 315. => { if *mode == RelativeDirectionMode::ClockFacing { "2:00" @@ -756,7 +744,8 @@ impl Plugin for CorePlugin { .add_system_to_stage( CoreStage::PostUpdate, copy_collider_position_to_coordinates.system(), - ).add_system(sync_config.system()); + ) + .add_system(sync_config.system()); } }