cleanup
This commit is contained in:
parent
b41388c3ed
commit
251785db67
|
@ -137,7 +137,7 @@ impl CanvasRenderingContext2D {
|
|||
paint_id));
|
||||
}
|
||||
|
||||
pub fn layout_text(&self, string: &str) -> Layout {
|
||||
fn layout_text(&self, string: &str) -> Layout {
|
||||
skribo::layout(&TextStyle { size: self.current_state.font_size },
|
||||
&self.current_state.font_collection,
|
||||
string)
|
||||
|
|
Loading…
Reference in New Issue