This commit is contained in:
galister
2026-01-09 11:48:44 +09:00
parent 9f79a034e7
commit e6e1764b36
23 changed files with 33 additions and 52 deletions

View File

@@ -77,11 +77,7 @@ impl From<&TextStyle> for Metrics {
impl From<&TextStyle> for Wrap {
fn from(value: &TextStyle) -> Self {
if value.wrap {
Self::WordOrGlyph
} else {
Self::None
}
if value.wrap { Self::WordOrGlyph } else { Self::None }
}
}