Skip to content

Commit dbbee31

Browse files
authored
Fix typo in gradient types link (#21227)
Fixed MDN links for radial and conic.
1 parent b17cacb commit dbbee31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_ui/src/gradients.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,11 +468,11 @@ pub enum Gradient {
468468
Linear(LinearGradient),
469469
/// A radial gradient
470470
///
471-
/// <https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/linear-gradient>
471+
/// <https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/radial-gradient>
472472
Radial(RadialGradient),
473473
/// A conic gradient
474474
///
475-
/// <https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/radial-gradient>
475+
/// <https://developer.mozilla.org/en-US/docs/Web/CSS/gradient/conic-gradient>
476476
Conic(ConicGradient),
477477
}
478478

0 commit comments

Comments
 (0)