Skip to content

Commit

Permalink
Fix typo in "semi_bold" weight option (software-mansion#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechBarczynski committed Oct 12, 2023
1 parent 1a768e0 commit 8c451ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compositor_common/src/scene/text_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub enum Weight {
Light,
Normal,
Medium,
Semibold,
SemiBold,
Bold,
ExtraBold,
Black,
Expand All @@ -87,7 +87,7 @@ impl From<&Weight> for glyphon::Weight {
Weight::Light => glyphon::Weight::LIGHT,
Weight::Normal => glyphon::Weight::NORMAL,
Weight::Medium => glyphon::Weight::MEDIUM,
Weight::Semibold => glyphon::Weight::SEMIBOLD,
Weight::SemiBold => glyphon::Weight::SEMIBOLD,
Weight::Bold => glyphon::Weight::BOLD,
Weight::ExtraBold => glyphon::Weight::EXTRA_BOLD,
Weight::Black => glyphon::Weight::BLACK,
Expand Down

0 comments on commit 8c451ab

Please sign in to comment.