From 1d5d94cf1719a88833ff27de0abbdd167f414d65 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 8 Nov 2026 15:13:28 +0100 Subject: [PATCH] Background Eraser: document that Find Edges grades in this tool Co-Authored-By: Claude Opus 5.5 --- crates/paint/src/bg_erase.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/paint/src/bg_erase.rs b/crates/paint/src/bg_erase.rs index 567d0b20340..9ae05ef3843 100644 --- a/crates/paint/src/bg_erase.rs +++ b/crates/paint/src/bg_erase.rs @@ -16,6 +16,9 @@ use crate::retouch::{Footprint, Region, alpha_index, apply_dab_stroke}; #[serde(default, rename_all = "camelCase")] pub struct BgEraseSettings { pub sampling: Sampling, + /// Which matching pixels are erased. [`Limits::FindEdges`] grades the erase over the Tolerance + /// like [`Limits::Contiguous`] in this tool (#11904), unlike Color Replacement, where it turns + /// the soft falloff off. pub limits: Limits, /// 0..1: how far from the sampled colour a colour is still partly erased. The distance is the /// largest increase plus the largest decrease over the colour channels (`dist`); an exact