Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Oct 5, 2024
1 parent 7a8a239 commit e997bbb
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 52 deletions.
114 changes: 64 additions & 50 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2927,10 +2927,10 @@ impl Tab {
}
fn text_width_body<'a>(content: &'a str) -> f32 {
//TODO: should libcosmic set the font when using widget::text::body?
text_width(content, font::Font::DEFAULT, 14.0, 20.0)
text_width(content, font::default(), 14.0, 20.0)
}
fn text_width_heading<'a>(content: &'a str) -> f32 {
text_width(content, font::FONT_SEMIBOLD, 14.0, 20.0)
text_width(content, font::semibold(), 14.0, 20.0)
}

let cosmic_theme::Spacing {
Expand Down

0 comments on commit e997bbb

Please sign in to comment.