Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich text #1245

Merged
merged 18 commits into from
Jan 25, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix pipeline.rs scale
  • Loading branch information
tigregalis committed Jan 24, 2021
commit 477ed3d70b543197d2142b85c92cb8fe7a03d119
2 changes: 1 addition & 1 deletion crates/bevy_text/src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl<ID: Hash + Eq> TextPipeline<ID> {

let section = SectionText {
font_id,
scale: PxScale::from(section.style.font_size),
scale: PxScale::from(font_size),
text: &section.value,
};

Expand Down