Skip to content

Commit e997bbb

Browse files
committed
Update dependencies
1 parent 7a8a239 commit e997bbb

File tree

2 files changed

+66
-52
lines changed

2 files changed

+66
-52
lines changed

Cargo.lock

Lines changed: 64 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tab.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2927,10 +2927,10 @@ impl Tab {
29272927
}
29282928
fn text_width_body<'a>(content: &'a str) -> f32 {
29292929
//TODO: should libcosmic set the font when using widget::text::body?
2930-
text_width(content, font::Font::DEFAULT, 14.0, 20.0)
2930+
text_width(content, font::default(), 14.0, 20.0)
29312931
}
29322932
fn text_width_heading<'a>(content: &'a str) -> f32 {
2933-
text_width(content, font::FONT_SEMIBOLD, 14.0, 20.0)
2933+
text_width(content, font::semibold(), 14.0, 20.0)
29342934
}
29352935

29362936
let cosmic_theme::Spacing {

0 commit comments

Comments
 (0)