Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
murl-digital committed Apr 22, 2024
1 parent 5f3a712 commit 46b055e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/epaint/src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub enum ColorMode {
Solid(Color32),

/// Provide a callback which takes in the path's bounding box and a position and converts it to a color.
/// When used with a path, the bounding box will have a margin of ``feathering + 1.0``
/// When used with a path, the bounding box will have a margin of ``feathering``
///
/// **This cannot be serialized**
#[cfg_attr(feature = "serde", serde(skip))]
Expand Down
2 changes: 1 addition & 1 deletion crates/epaint/src/stroke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl PathStroke {
}

/// Create a new `PathStroke` with a UV function
/// The bounding box passed to the callback will have a margin of ``feathering + 1.0``
/// The bounding box passed to the callback will have a margin of ``feathering``
#[inline]
pub fn new_uv(
width: impl Into<f32>,
Expand Down

0 comments on commit 46b055e

Please sign in to comment.