Water Paper: no Adobe address in the shipped effect description, clippy (#2955)

This commit is contained in:
bflatastic
2026-10-21 15:17:05 +07:00
parent 55df023b65
commit 15babbcacc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -579,7 +579,7 @@ pub fn effect_catalog() -> Vec<EffectInfo> {
"sketch.waterPaper",
"Water Paper…",
SKETCH,
"{fiberLength: pt 3..50 (15; scale of paper fibers and blotchy daubs), brightness: 0..100 (50), contrast: 0..100 (50)} washes the object's colours as if painted on damp fibrous paper, with soft flow and a fibrous modulation (behaviour per https://helpx.adobe.com/illustrator/using/summary-effects.html). Public helpx names Fiber Length, Brightness and Contrast but not slider ranges or dialog defaults; ranges and defaults here are unverified VectorCraft choices. Original visual approximation, not a proprietary reproduction.",
"{fiberLength: pt 3..50 (15; scale of paper fibers and blotchy daubs), brightness: 0..100 (50), contrast: 0..100 (50)} washes the object's colours as if painted on damp fibrous paper, with soft flow and a fibrous modulation. Public helpx names Fiber Length, Brightness and Contrast but not slider ranges or dialog defaults; ranges and defaults here are unverified VectorCraft choices. Original visual approximation, not a proprietary reproduction.",
json!({"fiberLength": 15.0, "brightness": 50.0, "contrast": 50.0}),
),
r(
+1 -1
View File
@@ -2162,7 +2162,7 @@ fn water_paper_params_take_defaults_and_stay_in_range() {
assert!(f.outset(Rect::new(0.0, 0.0, 100.0, 50.0)) > 0.0);
assert!(f.reach().unwrap_or(0.0) > 0.0);
let doc = crate::effect_info("sketch.waterPaper").unwrap().params;
assert!(doc.contains("helpx.adobe.com/illustrator/using/summary-effects.html") && doc.contains("unverified"), "{doc}");
assert!(doc.contains("unverified"), "{doc}");
}
#[test]