diff --git a/crates/paint/src/brush_noise_strength_tests.rs b/crates/paint/src/brush_noise_strength_tests.rs index bb37f0741b..1d4e007eb1 100644 --- a/crates/paint/src/brush_noise_strength_tests.rs +++ b/crates/paint/src/brush_noise_strength_tests.rs @@ -8,14 +8,7 @@ use crate::{BrushSettings, StrokePoint, render_stroke}; fn paint(noise: bool, hardness: f32, seed: u64) -> Surface { let brush = BrushSettings { size: 60.0, hardness, noise, seed, ..BrushSettings::default() }; let mut surface = Surface::new(PixelFormat::RGBA32F); - render_stroke( - &mut surface, - &brush, - &[StrokePoint::new(100.0, 100.0, 1.0), StrokePoint::new(400.0, 100.0, 1.0)], - None, - false, - 1.0, - ); + render_stroke(&mut surface, &brush, &[StrokePoint::new(100.0, 100.0, 1.0), StrokePoint::new(400.0, 100.0, 1.0)], None, false, 1.0); surface }