Skip to content

Commit

Permalink
Fix doclink
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Sep 18, 2024
1 parent 6346f3f commit a32f53a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/epaint/src/text/text_layout_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,10 @@ pub struct TextFormat {
/// If you use a small font and [`Align::BOTTOM`]
/// you get the effect of a subscript.
///
/// If you use [`Align::center`], you get text that is centered
/// If you use [`Align::Center`], you get text that is centered
/// around a common center-line, which is nice when mixining emojis
/// and normal text in e.g. a button.
pub valign: Align,
// TODO(emilk): lowered
}

impl Default for TextFormat {
Expand Down

0 comments on commit a32f53a

Please sign in to comment.