Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Integration: cargo fmt

aiongga461614d5601
diff --git a/crates/ui-egui/src/panels/detail/masks.rs b/crates/ui-egui/src/panels/detail/masks.rs
index cf52f1f75..d8e789b7a 100644
--- a/crates/ui-egui/src/panels/detail/masks.rs
+++ b/crates/ui-egui/src/panels/detail/masks.rs
@@ -517,7 +517,15 @@ fn object_tool(
}
/// Brush tool: the cursor, the stroke being painted and its commit.
-fn brush_tool(app: &mut LightcraftApp, ui: &mut egui::Ui, resp: &egui::Response, map: &CanvasMap, p: &egui::Painter, clip: Rect, d: &DevelopSettings) {
+fn brush_tool(
+ app: &mut LightcraftApp,
+ ui: &mut egui::Ui,
+ resp: &egui::Response,
+ map: &CanvasMap,
+ p: &egui::Painter,
+ clip: Rect,
+ d: &DevelopSettings,
+) {
let active = app.session.active_mask;
let long = (map.rect.width().max(map.rect.height())) as f64;
let r = (app.ui.brush_size as f64 * long) as f32;