From 15078a06e1bdcdce151c056f1870bb65eba562b7 Mon Sep 17 00:00:00 2001 From: yoriswind Date: Sat, 28 Nov 2026 10:16:28 -0800 Subject: [PATCH] Apply hosted formatting to the brush pixel regression --- crates/paint/src/brush_noise_strength_tests.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 }