Update RelativeTo to include tiling in docs (#6730)

This commit is contained in:
Robin 2025-08-11 11:21:45 +02:00 committed by GitHub
parent bcc71ddb9b
commit 5babe8888c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1143,9 +1143,9 @@ impl Repr for ConicGradient {
/// What is the gradient relative to. /// What is the gradient relative to.
#[derive(Cast, Debug, Clone, Copy, PartialEq, Eq, Hash)] #[derive(Cast, Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum RelativeTo { pub enum RelativeTo {
/// The gradient is relative to itself (its own bounding box). /// Relative to itself (its own bounding box).
Self_, Self_,
/// The gradient is relative to its parent (the parent's bounding box). /// Relative to its parent (the parent's bounding box).
Parent, Parent,
} }