diff --git a/src/utils.rs b/src/utils.rs index 3f53774..a82d789 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -144,8 +144,7 @@ pub fn create_joystick( VirtualJoystickUIBackground, ImageBundle { image: UiImage { - color: background_color - .unwrap_or(Color::WHITE.with_alpha(1.0)), + color: background_color.unwrap_or(Color::WHITE.with_alpha(1.0)), texture: background_img, ..default() },