From 5babe8888c8b75bbbfb6af14e65fd3be77e9b7a1 Mon Sep 17 00:00:00 2001 From: Robin Date: Mon, 11 Aug 2025 11:21:45 +0200 Subject: [PATCH] Update RelativeTo to include tiling in docs (#6730) --- crates/typst-library/src/visualize/gradient.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typst-library/src/visualize/gradient.rs b/crates/typst-library/src/visualize/gradient.rs index cb2ade2eb..6f1c1f7fb 100644 --- a/crates/typst-library/src/visualize/gradient.rs +++ b/crates/typst-library/src/visualize/gradient.rs @@ -1143,9 +1143,9 @@ impl Repr for ConicGradient { /// What is the gradient relative to. #[derive(Cast, Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum RelativeTo { - /// The gradient is relative to itself (its own bounding box). + /// Relative to itself (its own bounding box). Self_, - /// The gradient is relative to its parent (the parent's bounding box). + /// Relative to its parent (the parent's bounding box). Parent, }