From 1db0e1e1b7dc413025a8a4b972c899dce7a14c13 Mon Sep 17 00:00:00 2001 From: Charlotte McElwain Date: Tue, 10 Sep 2024 00:25:35 -0700 Subject: [PATCH] Fmt. --- examples/compute/particle_sdf.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/compute/particle_sdf.rs b/examples/compute/particle_sdf.rs index 4304c2a11..72cbc9427 100644 --- a/examples/compute/particle_sdf.rs +++ b/examples/compute/particle_sdf.rs @@ -170,7 +170,6 @@ fn update(app: &App, model: &mut Model) { model.scaling_factor = model.scaling_factor.saturating_sub(1).max(20); } - let pixels = app.main_window().size_pixels().element_product(); let new_size = pixels / model.scaling_factor.clamp(20, 1000);