From c3455d35b523d3129d80f5ea9de3251a392b38a7 Mon Sep 17 00:00:00 2001 From: Clinton Selke Date: Mon, 19 Feb 2024 23:22:00 +1000 Subject: [PATCH] cargo fmt --- src/lib.rs | 4 +++- src/ui/systems.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 85c8222..5ea0e89 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,7 +58,9 @@ impl Plugin for VirtualJoystickPlugin { joystick_image_node_system::.before(UiSystem::Layout), ); - let Ok(render_app) = app.get_sub_app_mut(RenderApp) else { return; }; + let Ok(render_app) = app.get_sub_app_mut(RenderApp) else { + return; + }; render_app.add_systems( ExtractSchedule, extract_joystick_node::.after(RenderUiSystem::ExtractNode), diff --git a/src/ui/systems.rs b/src/ui/systems.rs index fe3942d..ee468b3 100644 --- a/src/ui/systems.rs +++ b/src/ui/systems.rs @@ -114,6 +114,6 @@ fn get_base_pos( } else { joystick.start_pos.extend(0.) } - }, + } } }