From 5ee4550fc54d13c65a4bd6d4e317f67392999468 Mon Sep 17 00:00:00 2001 From: Luna Borella Date: Fri, 21 Jun 2024 23:11:22 +1000 Subject: [PATCH] Cargo fmt again (whoops) --- src/app/taiko_mode/ui.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/taiko_mode/ui.rs b/src/app/taiko_mode/ui.rs index 46f7e28..ecf26ea 100644 --- a/src/app/taiko_mode/ui.rs +++ b/src/app/taiko_mode/ui.rs @@ -51,7 +51,7 @@ impl Header { [0., 0.], [0., HEADER_HEIGHT], ) - .ok_or(anyhow::format_err!("cant construct linear gradient"))?, + .ok_or(anyhow::format_err!("cant construct linear gradient"))?, )? .build(&renderer.device); @@ -136,7 +136,7 @@ impl NoteField { [0.0, NOTE_FIELD_Y], [0.0, NOTE_FIELD_Y + NOTE_FIELD_HEIGHT], ) - .ok_or(anyhow::format_err!("couldnt construct linear gradient"))?, + .ok_or(anyhow::format_err!("couldnt construct linear gradient"))?, )? .filled_rectangle( [LEFT_PANEL_WIDTH, NOTE_FIELD_Y], @@ -151,8 +151,8 @@ impl NoteField { pub fn render<'pass>( &'pass mut self, ctx: &mut RenderContext<'_, 'pass>, - notes: impl Iterator, - barlines: impl Iterator, + notes: impl Iterator, + barlines: impl Iterator, ) { ctx.render(&self.field); @@ -268,8 +268,8 @@ impl BalloonDisplay { &renderer.queue, "balloon speech bubble.png", )?) - .position([575., 130.]) - .build(renderer); + .position([575., 130.]) + .build(renderer); let section = SectionBuilder::default() .with_screen_position((765., 190.)) @@ -298,8 +298,8 @@ impl BalloonDisplay { [50., 150.], ), ]) - .position([NOTE_HIT_X, NOTE_Y]) - .build(renderer); + .position([NOTE_HIT_X, NOTE_Y]) + .build(renderer); Ok(Self { bg_bubble,