Skip to content

Commit

Permalink
Change TextWrapping::overflow_character default value to
Browse files Browse the repository at this point in the history
  • Loading branch information
awaken1ng committed Mar 10, 2022
1 parent 5ba4261 commit 34e0e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epaint/src/text/text_layout_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ pub struct TextWrapping {
/// Don't try to break text at an appropriate place.
pub break_anywhere: bool,

/// Character to use to represent clipped text, `…` for example.
/// Character to use to represent clipped text, `…` for example, which is the default.
pub overflow_character: Option<char>,
}

Expand All @@ -298,7 +298,7 @@ impl Default for TextWrapping {
max_width: f32::INFINITY,
max_rows: 0,
break_anywhere: false,
overflow_character: None,
overflow_character: Some('…'),
}
}
}
Expand Down

0 comments on commit 34e0e36

Please sign in to comment.