Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
clinuxrulz committed Feb 19, 2024
1 parent fb9fae2 commit c3455d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ impl<S: VirtualJoystickID> Plugin for VirtualJoystickPlugin<S> {
joystick_image_node_system::<S>.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::<S>.after(RenderUiSystem::ExtractNode),
Expand Down
2 changes: 1 addition & 1 deletion src/ui/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ fn get_base_pos(
} else {
joystick.start_pos.extend(0.)
}
},
}
}
}

0 comments on commit c3455d3

Please sign in to comment.