Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

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

bflatastic15babbcacc95
diff --git a/crates/effects/src/lib.rs b/crates/effects/src/lib.rs
index fe6b4fc5b..831982866 100644
--- a/crates/effects/src/lib.rs
+++ b/crates/effects/src/lib.rs
@@ -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(
diff --git a/crates/effects/src/pixel/tests.rs b/crates/effects/src/pixel/tests.rs
index 711a99840..1e82a7d0a 100644
--- a/crates/effects/src/pixel/tests.rs
+++ b/crates/effects/src/pixel/tests.rs
@@ -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]