draw: lazy_static initialize fonts
This commit is contained in:
+1
-1
@@ -437,7 +437,7 @@ impl ModuleImpl for PulseAudio {
|
||||
Color::new(1.0, 1.0, 1.0, 1.0)
|
||||
};
|
||||
draw_text(
|
||||
ROBOTO_REGULAR,
|
||||
&ROBOTO_REGULAR,
|
||||
&mut buf.subdimensions((0, 0, 128, 24))?,
|
||||
bg,
|
||||
&Color::new(1.0, 1.0, 1.0, 1.0),
|
||||
|
||||
Reference in New Issue
Block a user