Make all Color constructors const 🎉
This commit is contained in:
parent
d9a454ac4d
commit
ce07acf6fe
3 changed files with 15 additions and 44 deletions
|
|
@ -414,7 +414,7 @@ impl Renderer {
|
|||
renderer.fill_text(
|
||||
text.clone(),
|
||||
Point::new(11.0, 11.0 + 25.0 * i as f32),
|
||||
Color::new(0.9, 0.9, 0.9, 1.0),
|
||||
Color::from_rgba(0.9, 0.9, 0.9, 1.0),
|
||||
Rectangle::with_size(Size::INFINITY),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue